C# 클래스 Mosa.EmulatedDevices.Synthetic.PixelGraphicDevice

Represents an synthetic pixel graphics Device
상속: Mosa.DeviceSystem.Device, IPixelGraphicsDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

Clear() 공개 메소드

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

Lock() 공개 메소드

Locks this instance.
public Lock ( ) : void
리턴 void

PixelGraphicDevice() 공개 메소드

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

ReadPixel() 공개 메소드

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

Unlock() 공개 메소드

Unlocks this instance.
public Unlock ( ) : void
리턴 void

Update() 공개 메소드

Updates this instance.
public Update ( ) : void
리턴 void

WritePixel() 공개 메소드

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.
리턴 void

WritePixelFast() 공개 메소드

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.
리턴 void