Framebuffer
Object Hierarchy:
Description:
[
CCode ( type_cname =
"VncFramebufferInterface" , type_id =
"vnc_framebuffer_get_type ()" ) ]
public interface Framebuffer :
Object
All known implementing classes:
Content:
Methods:
- public abstract void blt (uint8 src, int rowstride, uint16 x, uint16 y, uint16 width, uint16 height)
- public abstract void copyrect (uint16 srcx, uint16 srcy, uint16 dstx, uint16 dsty, uint16 width, uint16 height)
Copies data from the range (srcx
, srcy
) to (
srcx
+width
, srcy
+height
) over to the range starting at (dstx
, dsty
).
- public abstract void fill (uint8[] src, uint16 x, uint16 y, uint16 width, uint16 height)
Fill all the pixels in the range (x
, y
) to (
x
+ width
, y
+ height
) to the value in src
.
- public abstract uint8 get_buffer ()
Get a pointer to the framebuffer contents
- public abstract uint16 get_height ()
Query the height of the remote framebuffer
- public abstract unowned PixelFormat get_local_format ()
Get the pixel format used to store the framebuffer locally
- public abstract unowned PixelFormat get_remote_format ()
- public abstract int get_rowstride ()
Get the number of bytes per line of the framebuffer
- public abstract uint16 get_width ()
Query the width of the remote framebuffer
- public abstract bool perfect_format_match ()
Determine if the local and remote pixel formats match
- public abstract void rgb24_blt (uint8[] src, int rowstride, uint16 x, uint16 y, uint16 width, uint16 height)
Fill all the pixels in the range (x
, y
) to (
x
+ width
, y
+ height
) to the value in src
.
- public abstract void set_color_map (ColorMap map)
Set the color map to use for the framebuffer
- public abstract void set_pixel_at (uint8[] src, uint16 x, uint16 y)
Sets a pixel in the framebuffer at (x
, y
) to the
value in src
.
Inherited Members:
All known members inherited from class GLib.Object