Interface
GVncFramebuffer
Prerequisite
In order to implement Framebuffer, your type must inherit fromGObject.
Instance methods
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_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_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.
Interface structure
struct GVncFramebufferInterface {
  GTypeInterface parent;
  guint16 (* get_width) (
    VncFramebuffer* fb
  );
  guint16 (* get_height) (
    VncFramebuffer* fb
  );
  int (* get_rowstride) (
    VncFramebuffer* fb
  );
  guint8* (* get_buffer) (
    VncFramebuffer* fb
  );
  const VncPixelFormat* (* get_local_format) (
    VncFramebuffer* fb
  );
  const VncPixelFormat* (* get_remote_format) (
    VncFramebuffer* fb
  );
  gboolean (* perfect_format_match) (
    VncFramebuffer* fb
  );
  void (* set_pixel_at) (
    VncFramebuffer* fb,
    guint8* src,
    guint16 x,
    guint16 y
  );
  void (* fill) (
    VncFramebuffer* fb,
    guint8* src,
    guint16 x,
    guint16 y,
    guint16 width,
    guint16 height
  );
  void (* copyrect) (
    VncFramebuffer* fb,
    guint16 srcx,
    guint16 srcy,
    guint16 dstx,
    guint16 dsty,
    guint16 width,
    guint16 height
  );
  void (* blt) (
    VncFramebuffer* fb,
    guint8* src,
    int rowstride,
    guint16 x,
    guint16 y,
    guint16 width,
    guint16 height
  );
  void (* rgb24_blt) (
    VncFramebuffer* fb,
    guint8* src,
    int rowstride,
    guint16 x,
    guint16 y,
    guint16 width,
    guint16 height
  );
  void (* set_color_map) (
    VncFramebuffer* fb,
    VncColorMap* map
  );
  
}No description available.
Interface members
| parent |  | 
| No description available. | |
| get_width |  | 
| No description available. | |
| get_height |  | 
| No description available. | |
| get_rowstride |  | 
| No description available. | |
| get_buffer |  | 
| No description available. | |
| get_local_format |  | 
| No description available. | |
| get_remote_format |  | 
| No description available. | |
| perfect_format_match |  | 
| No description available. | |
| set_pixel_at |  | 
| No description available. | |
| fill |  | 
| No description available. | |
| copyrect |  | 
| No description available. | |
| blt |  | 
| No description available. | |
| rgb24_blt |  | 
| No description available. | |
| set_color_map |  | 
| No description available. | 
Virtual methods
GVnc.Framebuffer.copyrect
Copies data from the range (srcx, srcy) to
(srcx+width, srcy+height) over to the
range starting at (dstx, dsty).
GVnc.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.
GVnc.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.
GVnc.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.