C# Class VncSharpWpf.Encodings.PixelReader

Used to read the appropriate number of bytes from the server based on the width of pixels and convert to a GDI+ colour value (i.e., BGRA).
Mostra file Open project: nakano531/VncSharpWpf Class Usage Examples

Protected Properties

Property Type Description
framebuffer Framebuffer
reader System.IO.BinaryReader

Public Methods

Method Description
ReadPixel ( ) : int

Protected Methods

Method Description
PixelReader ( BinaryReader reader, Framebuffer framebuffer ) : System
ToGdiPlusOrder ( byte red, byte green, byte blue ) : int

Method Details

PixelReader() protected method

protected PixelReader ( BinaryReader reader, Framebuffer framebuffer ) : System
reader System.IO.BinaryReader
framebuffer Framebuffer
return System

ReadPixel() public abstract method

public abstract ReadPixel ( ) : int
return int

ToGdiPlusOrder() protected method

protected ToGdiPlusOrder ( byte red, byte green, byte blue ) : int
red byte
green byte
blue byte
return int

Property Details

framebuffer protected_oe property

protected Framebuffer framebuffer
return Framebuffer

reader protected_oe property

protected BinaryReader,System.IO reader
return System.IO.BinaryReader