void MoveScreen(int dx, int dy, int height) { // Short circuit check - do we have to do anything anyway? if ((dx == 0 && dy == 0) || height <= 0) return; var screen = _gfxManager.Capture(); if (screen == null) return; screen.Move(dx, dy, height); _gfxManager.CopyRectToScreen(screen.Pixels, screen.Pitch, 0, 0, screen.Width, screen.Height); }