C# Class CSPspEmu.Core.Utils.PspBitmap

Afficher le fichier Open project: soywiz/cspspemu Class Usage Examples

Méthodes publiques

Свойство Type Description
Address byte*
BitsPerPixel int
BytesPerLine int
ColorFormat CSharpUtils.ColorFormat
Height int
Width int

Protected Properties

Свойство Type Description
GuPixelFormat GuPixelFormats

Méthodes publiques

Méthode 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

Méthode Description
GetOffset ( int X, int Y ) : int

Method Details

GetPixel() public méthode

public GetPixel ( int X, int Y ) : OutputPixel
X int
Y int
Résultat OutputPixel

IsValidPosition() public méthode

public IsValidPosition ( int X, int Y ) : bool
X int
Y int
Résultat bool

PspBitmap() public méthode

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

SetPixel() public méthode

public SetPixel ( int X, int Y, OutputPixel Color ) : void
X int
Y int
Color OutputPixel
Résultat void

ToBitmap() public méthode

public ToBitmap ( ) : Bitmap
Résultat System.Drawing.Bitmap

Property Details

Address public_oe property

public byte* Address
Résultat byte*

BitsPerPixel public_oe property

public int BitsPerPixel
Résultat int

BytesPerLine public_oe property

public int BytesPerLine
Résultat int

ColorFormat public_oe property

public ColorFormat,CSharpUtils ColorFormat
Résultat CSharpUtils.ColorFormat

GuPixelFormat protected_oe property

protected GuPixelFormats GuPixelFormat
Résultat GuPixelFormats

Height public_oe property

public int Height
Résultat int

Width public_oe property

public int Width
Résultat int