Class
GtkVncCairoFramebuffer
Constructors
vnc_cairo_framebuffer_new
Allocate a new framebuffer object which will render the
remote desktop into a cairo image surface (width
* height
)
in size.
Instance methods
vnc_cairo_framebuffer_get_surface
Get the cairo surface in which the remote desktop is being rendered.
Methods inherited from VncFramebuffer (13)
vnc_framebuffer_blt
vnc_framebuffer_copyrect
Copies data from the range (srcx
, srcy
) to
(srcx
+width
, srcy
+height
) over to the
range starting at (dstx
, dsty
).
vnc_framebuffer_fill
Fill all the pixels in the range (x
, y
) to
(x
+ width
, y
+ height
) to the value in
src
. The number of bytes in src
is
determined by the remote pixel format.
vnc_framebuffer_get_buffer
Get a pointer to the framebuffer contents.
vnc_framebuffer_get_height
Query the height of the remote framebuffer.
vnc_framebuffer_get_local_format
Get the pixel format used to store the framebuffer locally.
vnc_framebuffer_get_remote_format
vnc_framebuffer_get_rowstride
Get the number of bytes per line of the framebuffer.
vnc_framebuffer_get_width
Query the width of the remote framebuffer.
vnc_framebuffer_perfect_format_match
Determine if the local and remote pixel formats match.
vnc_framebuffer_rgb24_blt
Fill all the pixels in the range (x
, y
) to
(x
+ width
, y
+ height
) to the value in
src
. The number of bytes in src
is always
3 as it must be in plain RGB24 format.
vnc_framebuffer_set_color_map
Set the color map to use for the framebuffer.
vnc_framebuffer_set_pixel_at
Sets a pixel in the framebuffer at (x
, y
) to the
value in src
. The number of bytes in src
is
determined by the remote pixel format.
Properties
Properties inherited from VncBaseFramebuffer (7)
GVnc.BaseFramebuffer:buffer
GVnc.BaseFramebuffer:color-map
GVnc.BaseFramebuffer:height
GVnc.BaseFramebuffer:local-format
GVnc.BaseFramebuffer:remote-format
GVnc.BaseFramebuffer:rowstride
GVnc.BaseFramebuffer:width
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.