Basics
Guides
API Reference
Basics
Guides
API Reference
[12:14] static extends: object
Generated low-level function wrappers for namespace Gsk.
getLib ()
component_transfer_equal (self, other)
Compares two component transfers for equality.
self is a component transfer.other is another component transfer.path_parse (string arg0String)
Constructs a path from a serialized form. The string is expected to be in (a superset of) SVG path syntax, as e.g. produced by [method@Gsk.Path.to_string]. A high-level summary of the syntax: -
M x yMove to(x, y)-L x yAdd a line from the current point to(x, y)-Q x1 y1 x2 y2Add a quadratic Bézier from the current point to(x2, y2), with control point(x1, y1)-C x1 y1 x2 y2 x3 y3Add a cubic Bézier from the current point to(x3, y3), with control points(x1, y1)and(x2, y2)-ZClose the contour by drawing a line back to the start point -H xAdd a horizontal line from the current point to the given x value -V yAdd a vertical line from the current point to the given y value -T x2 y2Add a quadratic Bézier, using the reflection of the previous segments' control point as control point -S x2 y2 x3 y3Add a cubic Bézier, using the reflection of the previous segments' second control point as first control point -A rx ry r l s x yAdd an elliptical arc from the current point to(x, y)with radii rx and ry. See the SVG documentation for how the other parameters influence the arc. -O x1 y1 x2 y2 wAdd a rational quadratic Bézier from the current point to(x2, y2)with control point(x1, y1)and weightw. All the commands have lowercase variants that interpret coordinates relative to the current point. TheOcommand is an extension that is not supported in SVG.
string is a string.stroke_equal (stroke1, stroke2)
Checks if two strokes are identical.
stroke1 is the first stroke.stroke2 is the second stroke.value_dup_render_node (object value)
Retrieves the render node stored inside a
GValue, and acquires a reference to it.
value is a [struct@GObject.Value] initialized with type GSK_TYPE_RENDER_NODE.value_get_render_node (object value)
Retrieves the render node stored inside a
GValue.
value is a GValue initialized with type GSK_TYPE_RENDER_NODE.value_set_render_node (object value, object node)
Stores the given render node inside a
GValue. The [struct@GObject.Value] will acquire a reference to the render node.
value is a [struct@GObject.Value] initialized with type GSK_TYPE_RENDER_NODE.node is a render node.None.value_take_render_node (object value, object node)
Stores the given render node inside a
GValue. This function transfers the ownership of the render node to theGValue.
value is a [struct@GObject.Value] initialized with type GSK_TYPE_RENDER_NODE.node is a render node.None.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.