C# Class Mosa.DeviceSystem.FrameBuffer24bpp

Implementation of FrameBuffer with 24 Bits Per Pixel
Inheritance: FrameBuffer, IFrameBuffer
Show file Open project: tgiphil/MOSA-Project

Public Methods

Method Description
FrameBuffer24bpp ( IMemory memory, uint width, uint height, uint offset, uint depth ) : Mosa.HardwareSystem

Initializes a new instance of the FrameBuffer24bpp class.

GetPixel ( uint x, uint y ) : uint

Gets the pixel.

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

Sets the pixel.

Protected Methods

Method Description
GetOffset ( uint x, uint y ) : uint

Gets the offset.

Method Details

FrameBuffer24bpp() public method

Initializes a new instance of the FrameBuffer24bpp class.
public FrameBuffer24bpp ( 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.
return Mosa.HardwareSystem

GetOffset() protected method

Gets the offset.
protected GetOffset ( uint x, uint y ) : uint
x uint The x.
y uint The y.
return uint

GetPixel() public method

Gets the pixel.
public GetPixel ( uint x, uint y ) : uint
x uint The x.
y uint The y.
return uint

SetPixel() public method

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