[cairo] API request: obtain the trapezoids that are outside of
the surface
Jost Boekemeier
jost2345 at yahoo.de
Tue Aug 17 08:33:28 PDT 2004
On Mon, 2004-08-16 at 21:30, Carl Worth wrote:
> So as you can see, there are probably some significant savings to be had
> by adding some geometry culling to cairo.
I think the best place to hook the code into is where the trapezoids are
created. At this place we have all information, don't we?
BTW (I don't have the code at the moment), is the clip surface an
identifyable entity on the server-side which takes part in the
composition process? I assume that this is the case, so that there's a
difference between the "parts i don't want to see" and the "parts that i
don't want to have".
> If you do actually want a path result, not trapezoids
Essentially I need only the information if the stroke/fill'ed path has
fit onto the surface or not. If we extend the cairo status API to
include not only errors but other render status, I think that would be
the natural place, no?
Jost
More information about the cairo
mailing list