Gsk
Description:
Content:
Classes:
- BlendNode
- BlurNode
- BorderNode
- BroadwayRenderer
- CairoNode
- CairoRenderer
- ClipNode
- ColorMatrixNode
- ColorNode
- ComponentTransfer - Specifies a transfer function for a color component to be applied while rendering.
- ComponentTransferNode
- CompositeNode
- ConicGradientNode
- ContainerNode
- CopyNode
- CrossFadeNode
- DebugNode
- FillNode
- GLRenderer
- GLShader - Implements a fragment shader using GLSL.
- GLShaderNode
- InsetShadowNode
- IsolationNode
- LinearGradientNode
- MaskNode
- NglRenderer
- OpacityNode
- OutsetShadowNode
- PasteNode
- Path - Describes lines and curves that are more complex than simple rectangles.
- PathBuilder - Constructs `GskPath` objects.
- PathMeasure - Performs measurements on paths such as determining the length of the path.
- PathPoint - Represents a point on a path.
- RadialGradientNode
- RenderNode
- RenderReplay - A facility to replay a [class@Gsk.
- Renderer
- RepeatNode
- RepeatingLinearGradientNode
- RepeatingRadialGradientNode
- RoundedClipNode
- ShaderArgsBuilder - Builds the uniforms data for a `GskGLShader`.
- ShadowNode
- Stroke - Collects the parameters that are needed when stroking a path.
- StrokeNode
- SubsurfaceNode
- TextNode
- TextureNode
- TextureScaleNode
- Transform - Describes a 3D transform.
- TransformNode - The basic block in a scene graph to be rendered using [class@Gsk.
- VulkanRenderer - Renders a scene graph defined via a tree of [class@Gsk.
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 - Specifies how paths are filled.
- GLUniformType - Defines the types of the uniforms that `GskGLShaders` declare.
- Isolation - These flags describe the types of isolations possible with a [class@Gsk.
- 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 - 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.
- PathIntersection - The values of this enumeration classify intersections between paths.
- PathOperation - Describes the segments of a `GskPath`.
- PorterDuff - GSK_PORTER_DUFF_SOURCE: GSK_PORTER_DUFF_DEST: GSK_PORTER_DUFF_SOURCE_OVER_DEST: GSK_PORTER_DUFF_DEST_OVER_SOURCE: GSK_PORTER_DUFF_SOURCE_IN_DEST: GSK_PORTER_DUFF_DEST_IN_SOURCE: GSK_PORTER_DUFF_SOURCE_OUT_DEST: GSK_PORTER_DUFF_DEST_OUT_SOURCE: GSK_PORTER_DUFF_SOURCE_ATOP_DEST: GSK_PORTER_DUFF_DEST_ATOP_SOURCE: GSK_PORTER_DUFF_XOR: GSK_PORTER_DUFF_CLEAR: The 12 compositing modes defined by the seminal paper by Thomas Porter and Tom Duff.
- 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, float weight)
Type of the callback to iterate through the operations of a path.
- public delegate bool PathIntersectionFunc (Path path1, PathPoint point1, Path path2, PathPoint point2, PathIntersection kind)
Prototype of the callback to iterate through the intersections of two paths.
- public delegate Font RenderReplayFontFilter (RenderReplay replay, Font font)
A function that filters fonts.
- public delegate RenderNode? RenderReplayNodeFilter (RenderReplay replay, RenderNode node)
A function to replay a node.
- public delegate Texture RenderReplayTextureFilter (RenderReplay replay, Texture texture)
A function that filters textures.
Functions:
- public bool component_transfer_equal (void* self, void* other)
Compares two component transfers for equality.
- public Path? path_parse (string string)
Constructs a path from a serialized form.
- public Quark serialization_error_quark ()
- public bool stroke_equal (void* stroke1, void* stroke2)
Checks if two strokes are identical.
- public bool transform_parse (string string, out Transform out_transform)
Parses a given into a transform.
- public RenderNode? value_dup_render_node (Value value)
Retrieves the render node stored inside a `GValue`, and acquires a reference to it.
- public unowned RenderNode? value_get_render_node (ref Value value)
Retrieves the render node stored inside a `GValue`.
- public void value_set_render_node (ref Value value, RenderNode node)
Stores the given render node inside a `GValue`.
- public void value_take_render_node (ref Value value, owned RenderNode? node)
Stores the given render node inside a `GValue`.