C# Class PixelBuffer, NewTOAPIA

Inheritance: IPixelBuffer
Exibir arquivo Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
ClearToBlack ( ) : void
ClearToWhite ( ) : void
GetPixel ( int x, int y ) : uint
PixelBuffer ( int width, int height ) : System
SetPixel ( int x, int y, uint color ) : bool

Private Methods

Method Description
CalculateByteOffset ( int x, int y ) : int

Calculate the byte offset of a particular pixel.

Method Details

ClearToBlack() public method

public ClearToBlack ( ) : void
return void

ClearToWhite() public method

public ClearToWhite ( ) : void
return void

GetPixel() public method

public GetPixel ( int x, int y ) : uint
x int
y int
return uint

PixelBuffer() public method

public PixelBuffer ( int width, int height ) : System
width int
height int
return System

SetPixel() public method

public SetPixel ( int x, int y, uint color ) : bool
x int
y int
color uint
return bool