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

Inheritance: IGraphicDevice
Exibir arquivo Open project: afonsof/nes-hd Class Usage Examples

Public Methods

Method Description
AddScanline ( int line, int scanlineBuffer ) : void
Begin ( ) : void
ChangeSettings ( ) : void
Clear ( ) : void
Dispose ( ) : void
DrawAbsolutePixel ( int x, int y, int color ) : void
DrawPixel ( int x, int y, int color ) : void
DrawPixelHiRes ( int x, int y, int color, uint tilePage, int tileOffSet, int tileX, int tileY, bool hFlip, bool vFlip, byte color1, byte color2, byte color3, int renColor ) : 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
VideoGdiHiRes ( TvFormat tvFormat, Control surface, string pPath, int chrPages ) : System.Collections.Generic

Private Methods

Method Description
ReadHiResPack ( string pPath, int chrPages ) : void
SaveSnap ( ) : void

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

Dispose() public method

public Dispose ( ) : 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

DrawPixelHiRes() public method

public DrawPixelHiRes ( int x, int y, int color, uint tilePage, int tileOffSet, int tileX, int tileY, bool hFlip, bool vFlip, byte color1, byte color2, byte color3, int renColor ) : void
x int
y int
color int
tilePage uint
tileOffSet int
tileX int
tileY int
hFlip bool
vFlip bool
color1 byte
color2 byte
color3 byte
renColor 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

VideoGdiHiRes() public method

public VideoGdiHiRes ( TvFormat tvFormat, Control surface, string pPath, int chrPages ) : System.Collections.Generic
tvFormat TvFormat
surface System.Windows.Forms.Control
pPath string
chrPages int
return System.Collections.Generic