GVnc.PixelFormat

Fields

Name

Type

Access

Description

bits_per_pixel

int

r/w

blue_max

int

r/w

blue_shift

int

r/w

byte_order

int

r/w

depth

int

r/w

green_max

int

r/w

green_shift

int

r/w

red_max

int

r/w

red_shift

int

r/w

true_color_flag

int

r/w

Methods

class

new ()

copy ()

free ()

match (other)

Details

class GVnc.PixelFormat
classmethod new()
Returns:

the new pixel format struct

Return type:

GVnc.PixelFormat

Allocate a new VNC pixel format struct whose contents is initialized to all zeros. The struct must be released using GVnc.PixelFormat.free when no longer required

copy()
Returns:

the new pixel format struct

Return type:

GVnc.PixelFormat

Allocate a new VNC pixel format struct whose contents is initialized with the data found in srcFormat. The struct must be released using GVnc.PixelFormat.free when no longer required.

free()

Release the memory associated with self

match(other)
Parameters:

other (GVnc.PixelFormat) –

Return type:

bool