C# Class CSPspEmu.Core.Utils.PspBitmap

Datei anzeigen Open project: soywiz/cspspemu Class Usage Examples

Public Properties

Property Type Description
Address byte*
BitsPerPixel int
BytesPerLine int
ColorFormat CSharpUtils.ColorFormat
Height int
Width int

Protected Properties

Property Type Description
GuPixelFormat GuPixelFormats

Public Methods

Method Description
GetPixel ( int X, int Y ) : OutputPixel
IsValidPosition ( int X, int Y ) : bool
PspBitmap ( GuPixelFormats PixelFormat, int Width, int Height, byte Address, int BytesPerLine = -1 ) : System
SetPixel ( int X, int Y, OutputPixel Color ) : void
ToBitmap ( ) : Bitmap

Private Methods

Method Description
GetOffset ( int X, int Y ) : int

Method Details

GetPixel() public method

public GetPixel ( int X, int Y ) : OutputPixel
X int
Y int
return OutputPixel

IsValidPosition() public method

public IsValidPosition ( int X, int Y ) : bool
X int
Y int
return bool

PspBitmap() public method

public PspBitmap ( GuPixelFormats PixelFormat, int Width, int Height, byte Address, int BytesPerLine = -1 ) : System
PixelFormat GuPixelFormats
Width int
Height int
Address byte
BytesPerLine int
return System

SetPixel() public method

public SetPixel ( int X, int Y, OutputPixel Color ) : void
X int
Y int
Color OutputPixel
return void

ToBitmap() public method

public ToBitmap ( ) : Bitmap
return System.Drawing.Bitmap

Property Details

Address public_oe property

public byte* Address
return byte*

BitsPerPixel public_oe property

public int BitsPerPixel
return int

BytesPerLine public_oe property

public int BytesPerLine
return int

ColorFormat public_oe property

public ColorFormat,CSharpUtils ColorFormat
return CSharpUtils.ColorFormat

GuPixelFormat protected_oe property

protected GuPixelFormats GuPixelFormat
return GuPixelFormats

Height public_oe property

public int Height
return int

Width public_oe property

public int Width
return int