public void UpdateSize(int x, int y, int w, int h) { Screen_W = w; Screen_H = h; Screen_X = x; Screen_Y = y; _graphics = _surface.CreateGraphics(); _graphics.InterpolationMode = InterpolationMode.NearestNeighbor; _graphics.Clear(Color.Black); }