GVnc.PixelFormat¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
bits_per_pixel |
r/w |
||
blue_max |
r/w |
||
blue_shift |
r/w |
||
byte_order |
r/w |
||
depth |
r/w |
||
green_max |
r/w |
||
green_shift |
r/w |
||
red_max |
r/w |
||
red_shift |
r/w |
||
true_color_flag |
r/w |
Methods¶
class |
|
|
|
|
|
|
Details¶
- class GVnc.PixelFormat¶
- classmethod new()¶
- Returns:
the new pixel format struct
- Return type:
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:
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: