[cairo] [RFC] Add device_extents api

Soeren Sandmann sandmann at daimi.au.dk
Thu Feb 12 20:47:40 PST 2009


"Robert O'Callahan" <robert at ocallahan.org> writes:

> On Fri, Feb 13, 2009 at 11:27 AM, Jeff Muizelaar <jeff at infidigm.net> wrote:
> 
> > Unless I'm misunderstanding Behdad, fixing the user-space extents bug
> > just gives us saner user-space extents. It won't help with
> > https://bugzilla.mozilla.org/show_bug.cgi?id=465996 where we need device
> > extents.
> >
> 
> Oh yeah, because even if we compute perfect user-space extents, transforming
> that rectangle to device space will introduce another bounding-box operation
> (e.g. if there's rotation).
> 
> Oh well. Back to the API wars!

If I understand that bug correct, then the damage tracking API that I
proposed in a different thread may do what you need, and in fact
possibly allow you to repaint less than the full bounding box of the
curve.


Soren


More information about the cairo mailing list