[cairo] API request: obtain the trapezoids that are outside of
the surface
Jost Boekemeier
jost2345 at yahoo.de
Wed Aug 18 08:43:36 PDT 2004
On Tue, 2004-08-17 at 21:14, Carl Worth wrote:
>
> Being able to ask cairo for the bounding box of the current path seems
> like a perfectly reasonable option.
Probably. Do you know an efficient way to calculate the bounding box of
a spline?
I think walking along a flat path is nearly as expensive as tesselating,
and not necessary, imho, because the information we need will be
calculated during tesselation anyway.
But maybe you're right and it is better to have a clean interface, even
if that makes the code a little bit slower.
Jost
More information about the cairo
mailing list