Path.getStrokeBounds

bool getStrokeBounds(gsk.stroke.Stroke stroke, out graphene.rect.Rect bounds)

Computes the bounds for stroking the given path with the parameters in stroke.

The returned bounds may be larger than necessary, because this function aims to be fast, not accurate. The bounds are guaranteed to contain the area affected by the stroke, including protrusions like miters.

Parameters

strokestroke parameters
boundsthe bounds to fill in

Returns

TRUE if the path has bounds, FALSE if the path is known

to be empty and have no bounds.