C# Class Mosa.EmulatedDevices.Synthetic.PixelGraphicDevice

Represents an synthetic pixel graphics Device
Inheritance: Mosa.DeviceSystem.Device, IPixelGraphicsDevice
Exibir arquivo Open project: tgiphil/MOSA-Project Class Usage Examples

Public Methods

Method Description
Clear ( Color color ) : void

Clears the specified color.

Lock ( ) : void

Locks this instance.

PixelGraphicDevice ( DisplayForm displayform ) : Mosa.DeviceSystem

Initializes a new instance of the PixelGraphicDevice class.

ReadPixel ( ushort x, ushort y ) : Color

Reads the pixel.

Unlock ( ) : void

Unlocks this instance.

Update ( ) : void

Updates this instance.

WritePixel ( Color color, ushort x, ushort y ) : void

Writes the pixel.

WritePixelFast ( Color color, ushort x, ushort y ) : void

Writes the pixel fast.

Method Details

Clear() public method

Clears the specified color.
public Clear ( Color color ) : void
color Mosa.DeviceSystem.Color The color.
return void

Lock() public method

Locks this instance.
public Lock ( ) : void
return void

PixelGraphicDevice() public method

Initializes a new instance of the PixelGraphicDevice class.
public PixelGraphicDevice ( DisplayForm displayform ) : Mosa.DeviceSystem
displayform DisplayForm
return Mosa.DeviceSystem

ReadPixel() public method

Reads the pixel.
public ReadPixel ( ushort x, ushort y ) : Color
x ushort The x.
y ushort The y.
return Mosa.DeviceSystem.Color

Unlock() public method

Unlocks this instance.
public Unlock ( ) : void
return void

Update() public method

Updates this instance.
public Update ( ) : void
return void

WritePixel() public method

Writes the pixel.
public WritePixel ( Color color, ushort x, ushort y ) : void
color Mosa.DeviceSystem.Color The color.
x ushort The x.
y ushort The y.
return void

WritePixelFast() public method

Writes the pixel fast.
public WritePixelFast ( Color color, ushort x, ushort y ) : void
color Mosa.DeviceSystem.Color The color.
x ushort The x.
y ushort The y.
return void