C# Class NesHd.Core.Output.Video.Devices.VideoGdi

Inheritance: IGraphicDevice
Show file Open project: afonsof/nes-hd Class Usage Examples

Public Methods

Method Description
AddScanline ( int line, int scanlineBuffer ) : void
Begin ( ) : void
ChangeSettings ( ) : void
Clear ( ) : void
DrawAbsolutePixel ( int x, int y, int color ) : void
DrawPixel ( int x, int y, int color ) : void
DrawText ( string text, int frames ) : void
RenderFrame ( ) : void
TakeSnapshot ( string snapPath, string format ) : void
UpdateSize ( int x, int y, int w, int h ) : void
VideoGdi ( TvFormat tvFormat, Control surface ) : System.Drawing

Method Details

AddScanline() public method

public AddScanline ( int line, int scanlineBuffer ) : void
line int
scanlineBuffer int
return void

Begin() public method

public Begin ( ) : void
return void

ChangeSettings() public method

public ChangeSettings ( ) : void
return void

Clear() public method

public Clear ( ) : void
return void

DrawAbsolutePixel() public method

public DrawAbsolutePixel ( int x, int y, int color ) : void
x int
y int
color int
return void

DrawPixel() public method

public DrawPixel ( int x, int y, int color ) : void
x int
y int
color int
return void

DrawText() public method

public DrawText ( string text, int frames ) : void
text string
frames int
return void

RenderFrame() public method

public RenderFrame ( ) : void
return void

TakeSnapshot() public method

public TakeSnapshot ( string snapPath, string format ) : void
snapPath string
format string
return void

UpdateSize() public method

public UpdateSize ( int x, int y, int w, int h ) : void
x int
y int
w int
h int
return void

VideoGdi() public method

public VideoGdi ( TvFormat tvFormat, Control surface ) : System.Drawing
tvFormat TvFormat
surface System.Windows.Forms.Control
return System.Drawing