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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref