[cairo] [RFC] cairo_path_extents()
leon.woestenberg at gmail.com
Thu Nov 22 09:57:59 PST 2007
On Nov 22, 2007 6:32 PM, Baz <brian.ewins at gmail.com> wrote:
> On Nov 22, 2007 3:13 PM, Leon Woestenberg <leon.woestenberg at gmail.com> wrote:
> > Hello,
> above. You could get the same numbers by resetting the stroke width to
> a known non-zero value, the line caps to round, the dashing to none,
> and subtract the stroke width from the resulting stroke_extents.
> However, calling path_extents should be faster as it does not need to
> tesselate, deal with caps, etc - it just iterates over the path and
> calculates the extents as it goes.
Thanks for the complete and clear explanation.
More information about the cairo