RenderNode
Object Hierarchy:
Description:
[ CCode ( ref_function = "gsk_render_node_ref" , type_id = "gsk_render_node_get_type ()" , unref_function = "gsk_render_node_unref" ) ]
public abstract class RenderNode
Content:
Static methods:
Creation methods:
Methods:
- public unowned RenderNode @ref ()
Acquires a reference on the given `GskRenderNode`.
- public void draw (Context cr)
Draws the contents of a render node on a cairo context.
- public Rect get_bounds ()
Retrieves the boundaries of the this.
- public unowned RenderNode[]? get_children ()
Gets a list of all children nodes of the rendernode.
- public RenderNodeType get_node_type ()
Returns the type of the render node.
- public bool get_opaque_rect (out Rect out_opaque)
Gets an opaque rectangle inside the node that GTK can determine to be fully
opaque.
- public Bytes serialize ()
Serializes the this for later
deserialization via deserialize.
- public void unref ()
Releases a reference on the given `GskRenderNode`.
- public bool write_to_file (string filename) throws Error
This function is equivalent to calling [method@Gsk.