Gsk
Description:
Content:
Classes:
- BlendNode - A render node applying a blending function between its two child nodes.
- BlurNode - A render node applying a blur effect to its single child.
- BorderNode - A render node for a border.
- BroadwayRenderer
- CairoNode - A render node for a Cairo surface.
- CairoRenderer - A GSK renderer that is using cairo.
- ClipNode - A render node applying a rectangular clip to its single child node.
- ColorMatrixNode - A render node controlling the color matrix of its single child node.
- ColorNode - A render node for a solid color.
- ConicGradientNode - A render node for a conic gradient.
- ContainerNode - A render node that can contain other render nodes.
- CrossFadeNode - A render node cross fading between two child nodes.
- DebugNode - A render node that emits a debugging message when drawing its child node.
- FillNode - A render node filling the area given by [ struct@Gsk.
- GLRenderer
- GLShader - A `GskGLShader` is a snippet of GLSL that is meant to run in the fragment shader of the rendering pipeline.
- GLShaderNode - A render node using a GL shader when drawing its children nodes.
- InsetShadowNode - A render node for an inset shadow.
- LinearGradientNode - A render node for a linear gradient.
- MaskNode - A render node masking one child node with another.
- NglRenderer
- OpacityNode - A render node controlling the opacity of its single child node.
- OutsetShadowNode - A render node for an outset shadow.
- Path - A `GskPath` describes lines and curves that are more complex than simple rectangles.
- PathBuilder - `GskPathBuilder` is an auxiliary object for constructing `GskPath` objects.
- PathMeasure - `GskPathMeasure` is an object that allows measurements on `GskPath`s such as determining the length of the path.
- PathPoint - `GskPathPoint` is an opaque type representing a point on a path.
- RadialGradientNode - A render node for a radial gradient.
- RenderNode - `GskRenderNode` is the basic block in a scene graph to be rendered using [class@Gsk.
- Renderer - `GskRenderer` is a class that renders a scene graph defined via a tree of [class@Gsk.
- RepeatNode - A render node repeating its single child node.
- RepeatingLinearGradientNode - A render node for a repeating linear gradient.
- RepeatingRadialGradientNode - A render node for a repeating radial gradient.
- RoundedClipNode - A render node applying a rounded rectangle clip to its single child.
- ShaderArgsBuilder - An object to build the uniforms data for a `GskGLShader`.
- ShadowNode - A render node drawing one or more shadows behind its single child node.
- Stroke - A `GskStroke` struct collects the parameters that influence the operation of stroking a path.
- StrokeNode - A render node that will fill the area determined by stroking the the given [struct@Gsk.
- SubsurfaceNode - A render node that potentially diverts a part of the scene graph to a subsurface.
- TextNode - A render node drawing a set of glyphs.
- TextureNode - A render node for a `GdkTexture`.
- TextureScaleNode - A render node for a `GdkTexture`.
- Transform - `GskTransform` is an object to describe transform matrices.
- TransformNode - A render node applying a `GskTransform` to its single child node.
- VulkanRenderer - A GSK renderer that is using Vulkan.
Structs:
- ColorStop - A color stop in a gradient node.
- ParseLocation - A location in a parse buffer.
- RoundedRect - A rectangular region with rounded corners.
- Shadow - The shadow parameters in a shadow node.
Enums:
- BlendMode - The blend modes available for render nodes.
- Corner - The corner indices used by `GskRoundedRect`.
- FillRule - `GskFillRule` is used to select how paths are filled.
- GLUniformType - This defines the types of the uniforms that `GskGLShaders` declare.
- LineCap - Specifies how to render the start and end points of contours or dashes when stroking.
- LineJoin - Specifies how to render the junction of two lines when stroking.
- MaskMode - The mask modes available for mask nodes.
- PathDirection - The values of the `GskPathDirection` enum are used to pick one of the four tangents at a given point on the path.
- PathForeachFlags - Flags that can be passed to @foreach to influence what kinds of operations the path is decomposed into.
- PathOperation - Path operations are used to describe the segments of a `GskPath`.
- RenderNodeType - The type of a node determines what the node is rendering.
- ScalingFilter - The filters used when scaling texture data.
- TransformCategory - The categories of matrices relevant for GSK and GTK.
Error domains:
- SerializationError - Errors that can happen during (de)serialization.
Delegates:
- public delegate void ParseErrorFunc (ParseLocation start, ParseLocation end) throws Error
Type of callback that is called when an error occurs during node deserialization.
- public delegate bool PathForeachFunc (PathOperation op, Point pts, size_t n_pts, float weight)
Prototype of the callback to iterate through the operations of a path.
Functions:
- public Path? path_parse (string string)
This is a convenience function that constructs a `GskPath` from a serialized form.
- public Quark serialization_error_quark ()
- public bool stroke_equal (void* stroke1, void* stroke2)
Checks if 2 strokes are identical.
- public bool transform_parse (string string, out Transform out_transform)
Parses the given
string
into a transform and puts it inout_transform
. - public RenderNode? value_dup_render_node (Value value)
Retrieves the `GskRenderNode` stored inside the given `value`, and acquires a reference to it.
- public unowned RenderNode? value_get_render_node (ref Value value)
Retrieves the `GskRenderNode` stored inside the given `value`.
- public void value_set_render_node (ref Value value, RenderNode node)
Stores the given `GskRenderNode` inside `value`.
- public void value_take_render_node (ref Value value, owned RenderNode? node)
Stores the given `GskRenderNode` inside `value`.