get_stroke_bounds


Description:

public bool get_stroke_bounds (Stroke stroke, out 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:

this

a GtkPath

stroke

stroke parameters

bounds

the bounds to fill in

Returns:

`TRUE` if the path has bounds, `FALSE` if the path is known to be empty and have no bounds.