C# Класс VncSharpWpf.Framebuffer

Properties of a VNC Framebuffer, and its Pixel Format.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Framebuffer ( int width, int height ) : System

Creates a new Framebuffer with (width x height) pixels.

FromPixelFormat ( byte b, int width, int height ) : Framebuffer

Given the dimensions and 16-byte PIXEL_FORMAT record from the VNC Host, deserialize this into a Framebuffer object.

GetPixelArray ( ) : int[]
ToPixelFormat ( ) : byte[]

When communicating with the VNC Server, bytes are used to represent many of the values above. However, internally it is easier to use Integers. This method provides a translation between the two worlds.

this ( int index ) : int

An indexer to allow access to the internal pixel buffer.

Описание методов

Framebuffer() публичный Метод

Creates a new Framebuffer with (width x height) pixels.
public Framebuffer ( int width, int height ) : System
width int The width in pixels of the remote desktop.
height int The height in pixels of the remote desktop.
Результат System

FromPixelFormat() публичный статический Метод

Given the dimensions and 16-byte PIXEL_FORMAT record from the VNC Host, deserialize this into a Framebuffer object.
public static FromPixelFormat ( byte b, int width, int height ) : Framebuffer
b byte The 16-byte PIXEL_FORMAT record.
width int The width in pixels of the remote desktop.
height int The height in pixles of the remote desktop.
Результат Framebuffer

GetPixelArray() публичный Метод

public GetPixelArray ( ) : int[]
Результат int[]

ToPixelFormat() публичный Метод

When communicating with the VNC Server, bytes are used to represent many of the values above. However, internally it is easier to use Integers. This method provides a translation between the two worlds.
public ToPixelFormat ( ) : byte[]
Результат byte[]

this() публичный Метод

An indexer to allow access to the internal pixel buffer.
public this ( int index ) : int
index int
Результат int