Package: gsk

Function gsk:path-builder-add-rect

Lambda List

gsk:path-builder-add-rect (builder rect)

Arguments

builder -- a gsk:path-builder instance
rect -- a graphene:rect-t instance with the rectangle to create a path for

Details

Adds rect as a new contour to the path built by the path builder. The path is going around the rectangle in clockwise direction.

If the the width or height are 0, the path will be a closed horizontal or vertical line. If both are 0, it will be a closed dot.

Since 4.14
 

See also

2024-11-13