C# Class Mosa.DeviceSystem.FrameBuffer8bpp

Implementation of FrameBuffer with 8 Bits Per Pixel
Inheritance: FrameBuffer, IFrameBuffer
ファイルを表示 Open project: tgiphil/MOSA-Project

Public Methods

Method 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.

Protected Methods

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

Gets the offset.

Method Details

FrameBuffer8bpp() public method

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.
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