Basics
Guides
API Reference
Basics
Guides
API Reference
[393:7] extends: object
A function that filters textures. The function will be called by the default replay function for all nodes with textures. They will then generate a node using the returned texture. It is valid for the function to return the passed in texture if the texture shuld not be modified.
GskRenderReplayTextureFilterCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (replay, texture, user_data)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[468: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.true if @self and @other are equal.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.a new GskPath, or NULL if @string could not be parsed.stroke_equal (stroke1, stroke2)
Checks if two strokes are identical.
stroke1 is the first stroke.stroke2 is the second stroke.true if the two strokes are equal, false otherwise.transform_parse (string arg0String)
Parses a given into a transform. Strings printed via [method@Gsk.Transform.to_string] can be read in again successfully using this function. If @string does not describe a valid transform, false is returned and
NULLis put in @out_transform.
string is the string to parse.out_transform is return location for the transform.true if @string described a valid transform.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.the 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.the 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.[237:7] extends: object
A function that filters fonts. The function will be called by the default replay function for all nodes with fonts. They will then generate a node using the returned font. It is valid for the function to return the passed in font if the font shuld not be modified.
GskRenderReplayFontFilterCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (replay, font, user_data)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[315:7] extends: object
A function to replay a node. The node may be returned unmodified. The node may be discarded by returning %NULL. If you do not want to do any handling yourself, call [method@Gsk.RenderReplay.default] to use the default handler that calls your function on the children of the node.
GskRenderReplayNodeFilterCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (replay, node, user_data)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[160:7] extends: object
Prototype of the callback to iterate through the intersections of two paths.
GskPathIntersectionFuncCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (path1, point1, path2, point2, kind, user_data)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[88:7] extends: object
Type of the callback to iterate through the operations of a path. For each operation, the callback is given the @op itself, the points that the operation is applied to in @pts, and a @weight for conic curves. The @n_pts argument is somewhat redundant, since the number of points can be inferred from the operation. Each contour of the path starts with a @GSK_PATH_MOVE operation. Closed contours end with a @GSK_PATH_CLOSE operation.
GskPathForeachFuncCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (op, pts, n_pts, weight, user_data)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.
[13:7] extends: object
Type of callback that is called when an error occurs during node deserialization.
GskParseErrorFuncCallback (callback Fn, UserData = null)
Creates one native callback wrapper. The wrapper owns a trampoline that converts native pointers into generated wrapper objects before invoking
Fn.
Fn is the Aussom callback implementation.UserData is retained and passed through to Fn on each invocation when provided.trampoline (start, end, error, user_data)
Internal trampoline. Converts native pointer arguments into generated wrapper instances, then invokes the user's callback.
callback ()
Returns the wrapped NativeCallback.
handle ()
Returns the callback as a NativeHandle.
close ()
Closes the underlying NativeCallback.
isClosed ()
Returns true when the callback has been closed.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.