C# Class RemoteViewing.Windows.Forms.VncBitmap

Helps with Windows Forms bitmap conversion.
Exibir arquivo Open project: qmfrederik/remoteviewing Class Usage Examples

Public Methods

Method Description
CopyFromFramebuffer ( VncFramebuffer source, VncRectangle sourceRectangle, Bitmap target, int targetX, int targetY ) : void

Copies a region of the framebuffer into a bitmap.

CopyToFramebuffer ( Bitmap source, VncRectangle sourceRectangle, VncFramebuffer target, int targetX, int targetY ) : void

Copies a region of a bitmap into the framebuffer.

Method Details

CopyFromFramebuffer() public static method

Copies a region of the framebuffer into a bitmap.
public static CopyFromFramebuffer ( VncFramebuffer source, VncRectangle sourceRectangle, Bitmap target, int targetX, int targetY ) : void
source RemoteViewing.Vnc.VncFramebuffer The framebuffer to read.
sourceRectangle VncRectangle The framebuffer region to copy.
target System.Drawing.Bitmap The bitmap to copy into.
targetX int The leftmost X coordinate of the bitmap to draw to.
targetY int The topmost Y coordinate of the bitmap to draw to.
return void

CopyToFramebuffer() public static method

Copies a region of a bitmap into the framebuffer.
public static CopyToFramebuffer ( Bitmap source, VncRectangle sourceRectangle, VncFramebuffer target, int targetX, int targetY ) : void
source System.Drawing.Bitmap The bitmap to read.
sourceRectangle VncRectangle The bitmap region to copy.
target RemoteViewing.Vnc.VncFramebuffer The framebuffer to copy into.
targetX int The leftmost X coordinate of the framebuffer to draw to.
targetY int The topmost Y coordinate of the framebuffer to draw to.
return void