CairoNode
open class CairoNode(val gskCairoNodePointer: <Error class: unknown class><<Error class: unknown class>>) : RenderNode(source)
A render node for a Cairo surface.
Constructors
Functions
Link copied to clipboard
Creates a Cairo context for drawing using the surface associated to the render node.
Link copied to clipboard
Returns the type of the @node.
Link copied to clipboard
Retrieves the Cairo surface used by the render node.
Link copied to clipboard
Acquires a reference on the given GskRenderNode
.
Link copied to clipboard
Serializes the @node for later deserialization via gsk_render_node_deserialize(). No guarantees are made about the format used other than that the same version of GTK will be able to deserialize the result of a call to gsk_render_node_serialize() and gsk_render_node_deserialize() will correctly reject files it cannot open that were created with previous versions of GTK.
Link copied to clipboard
This function is equivalent to calling method@Gsk.RenderNode.serialize followed by func@GLib.file_set_contents.