NesHd.Core.Output.Video.Devices.VideoGdi.UpdateSize C# (CSharp) Method

UpdateSize() public method

public UpdateSize ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void
        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);
        }