C# Class RemoteViewing.Vnc.VncFramebuffer

Stores pixel data for a VNC session.
Inheritance: IVncFramebufferSource
ファイルを表示 Open project: qmfrederik/remoteviewing Class Usage Examples

Public Methods

Method Description
GetBuffer ( ) : byte[]

Returns the memory underlying this framebuffer.

SetPixel ( int x, int y, byte color ) : void

Sets the color of a single pixel.

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

Sets the color of a single pixel.

VncFramebuffer ( string name, int width, int height, VncPixelFormat pixelFormat ) : System

Initializes a new instance of the VncFramebuffer class.

Private Methods

Method Description
IVncFramebufferSource ( ) : VncFramebuffer

Method Details

GetBuffer() public method

Returns the memory underlying this framebuffer.
public GetBuffer ( ) : byte[]
return byte[]

SetPixel() public method

Sets the color of a single pixel.
public SetPixel ( int x, int y, byte color ) : void
x int The X coordinate of the pixel.
y int The Y coordinate of the pixel.
color byte /// The pixel color as a byte-encoded integer. ///
return void

SetPixel() public method

Sets the color of a single pixel.
public SetPixel ( int x, int y, int color ) : void
x int The X coordinate of the pixel.
y int The Y coordinate of the pixel.
color int The RGB color of the pixel.
return void

VncFramebuffer() public method

Initializes a new instance of the VncFramebuffer class.
public VncFramebuffer ( string name, int width, int height, VncPixelFormat pixelFormat ) : System
name string The framebuffer name. Many VNC clients set their titlebar to this name.
width int The framebuffer width.
height int The framebuffer height.
pixelFormat VncPixelFormat The framebuffer pixel format.
return System