C# Class Mosa.EmulatedDevices.Synthetic.PixelGraphicDevice

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

Méthodes publiques

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

Clears the specified color.
public Clear ( Color color ) : void
color Mosa.DeviceSystem.Color The color.
Résultat void

Lock() public méthode

Locks this instance.
public Lock ( ) : void
Résultat void

PixelGraphicDevice() public méthode

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

ReadPixel() public méthode

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

Unlock() public méthode

Unlocks this instance.
public Unlock ( ) : void
Résultat void

Update() public méthode

Updates this instance.
public Update ( ) : void
Résultat void

WritePixel() public méthode

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.
Résultat void

WritePixelFast() public méthode

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.
Résultat void