Up: cl-cffi-gtk4 API documentation
Package gsk
GTK Scene Graph Kit (GSK) is the rendering and scene graph API for GTK
introduced with version 3.90. GSK lies between the graphical control elements
(widgets) and the rendering. Like GDK, GSK is part of GTK and licensed under
the GNU Lesser General Public License (LGPL). This is the API documentation
of a Lisp binding to GSK.
About This PackageGskPathMeasure GtkPathPoint GskStroke GskPath GskPathBuilder GskRenderNode GskRoundedRect GskTransform GskGLShader GskRenderer The gsk:renderer class is a class that renders a scene graph defined by a tree of gsk:render-node instances. ...
Creates the resources needed by the renderer to render the scene graph. ... Releases all the resources created by the gsk:renderer-realize
function. ... Checks whether the renderer is realized or not. ... Renders the scene graph, described by a tree of gsk:render-node
instances, ensuring that the given region gets redrawn. ... Renders the scene graph, described by a tree of gsk:render-node instances, to a gdk:texture instance. ...
The GSK renderer that is using Cairo. ... Creates a new gsk:renderer instance using Cairo. ...
The OpenGL based renderer. ... Creates a new gsk:renderer instance using OpenGL. ...
The new experimental OpenGL based renderer. ...
Creates an instance of the new experimental OpenGL renderer. ... GskPathMeasure The gsk:path-measure structure is a structure that allows measurements on gsk:path intances such as determining the length of
the path. ... Creates a measure object for the given path with the default
tolerance. ...
Gets the length of the path being measured. ...
Returns the path that the measure was created for. ...
Returns the point at the given distance into the path. ...
Returns the tolerance that the measure was created with. ... GtkPathPoint The values of the gsk:path-direction enumeration are used to pick
one of the four tangents at a given point on the path. ... The gsk:path-point structure is an opaque type representing a point
on a path. ...
Calculates the curvature of the path at the point. ...
Returns the distance from the beginning of the path to point. ...
Gets the position of the point. ...
Gets the direction of the tangent at a given point. ...
Gets the tangent of the path at the point. ... Copies a path point. ...
Returns whether the two path points refer to the same location on all paths. ... GskStroke
Specifies how to render the start and end points of contours or dashes when
stroking. ...
Specifies how to render the junction of two lines when stroking. ... The gsk:stroke structure collects the parameters that influence the
operation of stroking a path. ... Creates a copy of the given stroke. ... Checks if two strokes are identical. ... The gsk:stroke-line-cap function gets the line cap used. ... The gsk:stroke-line-join function gets the line join used. ... The gsk:stroke-line-width function gets the line width used. ... GskPath Flags that can be passed to the gsk:path-foreach function to influence
what kinds of operations the path is decomposed into. ... The gsk:fill-rule enumeration is used to select how paths are
filled. ...
Prototype of the callback function to iterate through the operations of a
path. ... Calls func for every operation of the path. ... Computes the bounds of the given path. ... Computes the closest point on the path to the given point and sets
the result to it. ...
Gets the start point of the path. ...
Gets the end point of the path. ... Computes the bounds for stroking the given path with the parameters
in stroke. ... Returns whether the given point is inside the area that would be affected if the path was filled according to rule. ...
Returns if the path represents a single closed contour. ...
Checks if the path is empty, that is, contains no lines or curves. ...
Converts the path into a human-readable string representation suitable for
printing. ... GskPathBuilder Create a new gsk:path-builder instance. ...
Gets the current point. ...
Ends the current contour with a line back to the start point. ... Adds rect as a new contour to the path built by the path builder. ... Adds the outlines for the glyphs in layout to the path builder. ... Appends all of path to the path builder. ... Appends all of path to the path builder, reverse order. ...
Adds a Cairo path to the path builder. ... Starts a new contour by placing the pen at x, y. ... Starts a new contour by placing the pen at x, y relative to the
current point. ... Draws a line from the current point to x, y and makes it the new
current point. ... Draws a line from the current point to a point offset from it by x, y
and makes it the new current point. ... Adds an elliptical arc from the current point to x2, y2 with x1, y1 determining the tangent directions. ... Adds an elliptical arc from the current point to x2, y2 with x1, y1 determining the tangent directions. ... Adds a conic curve from the current point to x2, y2 with the given weight and x1, y1 as the control point. ... Adds a conic curve from the current point to x2, y2 with the given weight and x1, y1 as the control point. ... Adds a cubic Bézier curve from the current point to x3, y3 with x1, y1 and x2, y2 as the control points. ... Adds a cubic Bézier curve from the current point to x3, y3 with x1, y1 and x2, y2 as the control points. ... Adds a quadratic Bézier curve from the current point to x2, y2 with x1, y1 as the control point. ... Adds a quadratic Bézier curve from the current point to x2, y2 with x1, y1 as the control point. ...
Implements arc-to according to the HTML Canvas spec. ...
Implements arc-to according to the HTML Canvas spec. ...
Implements arc-to according to the SVG spec. ...
Implements arc-to according to the SVG spec. ... GskRenderNode
The type of a node determines what the node is rendering. ...
The filters used when scaling texture data. ...
The blend modes available for render nodes. ...
The mask modes available for mask nodes. ... The gsk:render-node instance is the basic block in a scene graph to be rendered using the gsk:renderer object. ... Acquires a reference on the given render node. ...
Releases a reference on the given render node. ... Returns the type of the render node. ... Draw the contents of node to the given Cairo context. ...
Serializes the node for later deserialization via the gsk:render-node-deserialize function. ... Loads data previously created via the gsk:render-node-serialize
function. ...
This function is mostly intended for use inside a debugger to quickly dump
a render node to a file for later inspection. ...
Retrieves the boundaries of the render node. ...
A render node that can contain other render nodes. ... Creates a new container node for holding the given children. ... Retrieves the number of direct children of node. ... Gets one of the children of the container node. ...
A render node for a Cairo surface. ...
Creates a render node that will render a Cairo surface into the area given by bounds. ...
Creates a Cairo context for drawing using the surface associated to the
render node. ...
Retrieves the Cairo surface used by the render node. ...
A render node for a solid color. ... Creates a render node that will render the color specified by rgba into the area given by bounds. ... Retrieves the color of the given render node. ...
A render node for a linear gradient. ...
Creates a render node that will create a linear gradient from the given points and color stops, and render that into the area given by bounds. ... Retrieves the initial point of the linear gradient. ... Retrieves the final point of the linear gradient. ... Retrieves the number of color stops in the linear gradient. ... Retrieves the color stops in the linear gradient. ...
A render node for a repeating linear gradient. ...
Creates a render node that will create a repeating linear gradient from the
given points and color stops, and render that into the area given by bounds. ...
A render node for a radial gradient. ...
Creates a render node that will create a radial gradient. ... Retrieves the number of color stops in the radial gradient. ... Retrieves the color stops in the radial gradient. ... Retrieves the start value for the radial gradient. ... Retrieves the end value for the radial gradient. ... Retrieves the horizontal radius for the radial gradient. ... Retrieves the vertical radius for the radial gradient. ... Retrieves the center point for the radial gradient. ...
A render node for a repeating radial gradient. ...
Creates a render node that will create a repeating radial gradient. ...
A render node for a conic gradient. ...
Creates a render node that draws a conic gradient. ... Retrieves the number of color stops in the conic gradient. ... Retrieves the color stops in the conic gradient. ...
Retrieves the center pointer for the gradient. ... Retrieves the rotation for the conic gradient in degrees. ...
A render node for a border. ...
Creates a border render node that will stroke a border rectangle inside the given outline. ...
Retrieves the outline of the border. ...
Retrieves the stroke widths of the border. ...
Retrieves the colors of the border. ... A render node for a gdk:texture object. ...
Creates a render node that will render the given texture into the area given by bounds. ... Retrieves the texture used when creating this render node. ...
A render node for an inset shadow. ...
Creates a render node that will render an inset shadow into the box given by outline. ... Retrieves the outline rectangle of the inset shadow. ... Retrieves the color of the inset shadow. ... Retrieves the horizontal offset of the inset shadow. ... Retrieves the vertical offset of the inset shadow. ... Retrieves how much the shadow spreads inwards. ... Retrieves the blur radius to apply to the shadow. ...
A render node for an outset shadow. ...
Creates a render node that will render an outset shadow into the box given by outline. ... Retrieves the outline rectangle of the outset shadow. ... Retrieves the color of the outset shadow. ... Retrieves the horizontal offset of the outset shadow. ... Retrieves the vertical offset of the outset shadow. ... Retrieves how much the shadow spreads inwards. ... Retrieves the blur radius to apply to the shadow. ... A render node applying a gsk:transform instance to its single
child render node. ...
Gets the child render node that is getting transformed by the given node. ...
A render node controlling the opacity of its single child render node. ... Creates a render node that will draw the child with reduced opacity. ... Gets the child node that is getting opacityed by the given node. ... Gets the transparency factor for an opacity node. ...
A render node controlling the color matrix of its single child render node. ...
Creates a render node that will draw the child render node with reduced matrix. ...
Gets the child render node that is getting its colors modified by the given node. ... Retrieves the color matrix used by node. ... Retrieves the color offset used by node. ...
A render node repeating its single child render node. ...
Creates a render node that will repeat the drawing of child across the given bounds. ... Retrieves the child of node. ... Retrieves the bounding rectangle of the child of node. ...
A render node applying a rectangular clip to its single child render node. ...
Creates a render node that will clip the child render node to the area given by clip. ... Gets the child render node that is getting clipped by the given node. ... Retrieves the clip rectangle for node. ...
A render node applying a rounded rectangle clip to its single child
render node. ...
Creates a render node that will clip the child node to the area given by clip. ... Gets the child node that is getting clipped by the given node. ... Retrievs the rounded rectangle used to clip the contents of node. ...
A render node drawing one or more shadows behind its single child render
node. ...
Creates a render node that will draw a child with the given shadows below
it. ... Retrieves the shadow data at the given index. ... Retrieves the number of shadows in node. ... Retrieves the child render node of the shadow node. ...
A render node applying a blending function between its two child nodes. ... Creates a render node that will use mode to blend the top node onto
the bottom node. ... Retrieves the bottom render node child of node. ... Retrieves the top render node child of node. ... Retrieves the blend mode used by node. ...
A render node cross fading between two child render nodes. ...
Retrieves the child render node at the beginning of the cross-fade. ...
Retrieves the child render node at the end of the cross-fade. ... Retrieves the progress value of the cross fade node. ...
A render node drawing a set of glyphs. ...
Creates a render node that renders the given glyphs. ... Returns the font used by the text node. ... Retrieves the color used by the text node. ... Checks whether the text node has color glyphs. ... Retrieves the number of glyphs in the text node. ... Retrieves the offset applied to the text node. ...
A render node applying a blur effect between its single child node. ...
Creates a render node that blurs the child render node. ...
Retrieves the child render node of the blur render node. ...
Retrieves the blur radius of the blur render node. ...
A render node that emits a debugging message when drawing its child
render node. ...
Creates a render node that will add debug information about the given child. ... Gets the child node that is getting drawn by the given node. ...
Gets the debug message that was set on this render node. ... A render node for a gdk:texture object. ... Retrieves the gsk:scaling-filter value used when creating the
render node. ...
Retrieves the texture used when creating the render node. ...
A render node masking one child node with another. ... Creates a gsk:render-node instance that will mask a given node by
another. ... Retrieves the gsk:render-node instance with the mask child of the
node. ... Retrieves the mask mode used by node. ... Retrieves the gsk:render-node instance with the source child of the
node. ... A render node filling the area given by a gsk:path instance and a gsk:fill-rule value with the child node. ... Gets the child node that is getting drawn by the given node. ...
Retrieves the fill rule used to determine how the path is filled. ...
Retrieves the path used to describe the area filled with the contents of
the node. ...
A render node that will fill the area determined by stroking the the given gsk:path instance using the gsk:stroke attributes. ... Creates a gsk:render-node instance that will fill the outline generated by stroking the given path using the attributes defined in stroke. ... Gets the child node that is getting drawn by the given node. ... Retrieves the path that will be stroked with the contents of node. ... Retrieves the stroke attributes used in node. ...
A render node that potentially diverts a part of the scene graph to a
subsurface. ... Creates a gsk:render-node instance that will possibly divert the
child node to a subsurface. ...
Gets the subsurface that was set on this node. ... Gets the child node that is getting drawn by the given node. ... GskRoundedRect The corner indices used by the gsk:rounded-rect instance. ...
A rectangular region with rounded corners. ... Accessor of the bounds slot of the rounded rectangle. ... Accessor of the nth corner of the rounded rectangle. ... Initializes the given rect with the given values. ...
Normalizes the passed rounded rectangle. ...
Shrinks (or grows) the given rounded rectangle by moving the 4 sides
according to the offsets given. ... Checks if all corners of rect are right angles and the rounded
rectangle covers all of its bounds. ...
Checks if the given point is inside the rounded rectangle. ... Checks if the given other is contained inside the rounded rectangle. ... Checks if part of the given other is contained inside the rounded
rectangle. ... GskTransform
The categories of matrices relevant for GSK and GTK. ... The gsk:transform structure is a structure to describe transform
matrices. ... Creates a new transform matrix. ... Returns the category this transform matrix belongs to. ...
Parses the given string into a transform matrix. ...
Converts a tansform matrix into a string that is suitable for printing and can later be parsed with the gsk:transform-parse function. ...
Computes the actual values of the transform matrix and stores it in matrix. ... Converts a gsk:transform instace to a 2D transformation matrix. ... Converts a gsk:transform instance to 2D transformation factors. ... Converts a gsk:transform instance to 2D affine transformation
factors. ... Converts a gsk:transform instance to a translation operation. ...
Inverts the given transform. ... Multiplies transform with the given matrix. ... Translates the transform matrix in 2dimensional space by point. ... Translates the transform matrix by point. ... Rotates the transformation matrix angle degrees in 2D, or in 3D speak,
around the z axis. ... Scales transform in 2-dimensional space by the given factors. ...
Scales the transform matrix by the given factors. ... Applies a skew transform. ...
Applies a perspective projection transform. ... Checks two transforms for equality. ... Transforms a graphene:rect-t instance using the given transform
matrix. ... Transforms a graphene:point-t instance using the given transform
matrix. ... GskGLShader | Exported Symbol Index |