immediately abort and not call the function again.
gsk.types
D types for gsk4 library
Types 17
aliasBlendMode = GskBlendMode
aliasFillRule = GskFillRule
aliasGLUniformType = GskGLUniformType
aliasLineCap = GskLineCap
aliasLineJoin = GskLineJoin
aliasMaskMode = GskMaskMode
aliasPathDirection = GskPathDirection
aliasPathOperation = GskPathOperation
aliasRenderNodeType = GskRenderNodeType
aliasScalingFilter = GskScalingFilter
aliasParseLocation = GskParseLocation
aliasParseErrorFunc = void delegate(gsk.types.ParseLocation start, gsk.types.ParseLocation end, glib.error.ErrorWrap error)
Type of callback that is called when an error occurs during node deserialization.
Parameters
start | start of the error location |
end | end of the error location |
error | the error |
aliasPathForeachFunc = bool delegate(gsk.types.PathOperation op, graphene.point.Point pts, size_t nPts, float weight)
Prototype 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.
Parameters
op | The operation |
pts | The points of the operation |
nPts | The number of points |
weight | The weight for conic curves, or unused if not a conic curve |
Returns
true to continue iterating the path, false to