C# 클래스 VncSharpWpf.Framebuffer

Properties of a VNC Framebuffer, and its Pixel Format.
파일 보기 프로젝트 열기: nakano531/VncSharpWpf 1 사용 예제들

공개 메소드들

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