[cairo] [RFC] Add device_extents api

Jeff Muizelaar jeff at infidigm.net
Tue Feb 3 10:54:40 PST 2009


On Tue, Feb 03, 2009 at 12:25:48PM -0500, Behdad Esfahbod wrote:
> Jeff,
> 
> The current implementation is broken indeed, and we plan to fix it.  But why
> new API?  What you propose can "eassily" be done by installing an identity
> matrix before the extents call.  How is that not enough?

I should've written this originally, but stroke width is not fixed until
the call to stroke_extents() so installing an identity matrix before the
extents call is not option. Further, it seems that most users of the api
don't want user space extents and instead want device space extents.

-Jeff


More information about the cairo mailing list