C# Class RemoteViewing.Vnc.VncFramebuffer

Stores pixel data for a VNC session.
Inheritance: IVncFramebufferSource
Afficher le fichier Open project: qmfrederik/remoteviewing Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
IVncFramebufferSource ( ) : VncFramebuffer

Method Details

GetBuffer() public méthode

Returns the memory underlying this framebuffer.
public GetBuffer ( ) : byte[]
Résultat byte[]

SetPixel() public méthode

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. ///
Résultat void

SetPixel() public méthode

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.
Résultat void

VncFramebuffer() public méthode

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.
Résultat System