C# Class Mosa.DeviceSystem.FrameBuffer8bpp

Implementation of FrameBuffer with 8 Bits Per Pixel
Inheritance: FrameBuffer, IFrameBuffer
Afficher le fichier Open project: tgiphil/MOSA-Project

Méthodes publiques

Méthode Description
FrameBuffer8bpp ( IMemory memory, uint width, uint height, uint offset, uint depth ) : Mosa.HardwareSystem

Initializes a new instance of the FrameBuffer8bpp class.

GetPixel ( uint x, uint y ) : uint

Gets the pixel.

SetPixel ( uint color, uint x, uint y ) : void

Sets the pixel.

Méthodes protégées

Méthode Description
GetOffset ( uint x, uint y ) : uint

Gets the offset.

Method Details

FrameBuffer8bpp() public méthode

Initializes a new instance of the FrameBuffer8bpp class.
public FrameBuffer8bpp ( IMemory memory, uint width, uint height, uint offset, uint depth ) : Mosa.HardwareSystem
memory IMemory The memory.
width uint The width.
height uint The height.
offset uint The offset.
depth uint The depth.
Résultat Mosa.HardwareSystem

GetOffset() protected méthode

Gets the offset.
protected GetOffset ( uint x, uint y ) : uint
x uint The x.
y uint The y.
Résultat uint

GetPixel() public méthode

Gets the pixel.
public GetPixel ( uint x, uint y ) : uint
x uint The x.
y uint The y.
Résultat uint

SetPixel() public méthode

Sets the pixel.
public SetPixel ( uint color, uint x, uint y ) : void
color uint The color.
x uint The x.
y uint The y.
Résultat void