[cairo] [RFC] Add device_extents api

Jeff Muizelaar jeff at infidigm.net
Thu Feb 12 14:27:51 PST 2009


On Fri, Feb 13, 2009 at 11:06:15AM +1300, Robert O'Callahan wrote:
> On Fri, Feb 13, 2009 at 10:30 AM, Behdad Esfahbod <behdad at behdad.org> wrote:
> 
> > Robert O'Callahan wrote:
> > > On Wed, Feb 4, 2009 at 8:46 AM, Behdad Esfahbod <behdad at behdad.org
> > > <mailto:behdad at behdad.org>> wrote:
> > >
> > >     I see your point about stroke width.  Another option is to lock the
> > >     stroke pen.
> > >
> > >
> > > We need to either provide new API to do that, or change the existing API
> > > to do that, or adopt something like Jeff's device-space extents API. We
> > > need to reach consensus on the preferred solution, because this is
> > > causing us pain downstream:
> > > https://bugzilla.mozilla.org/show_bug.cgi?id=465996#c46
> >
> > We're not very far from fixing the user-space extent bug. Needs someone to
> > sit
> > down and pull it all together.  (stroke code needs to be duped and shaved
> > to
> > give us tight stroke extents.)
> >
> 
> Oh, I should have mentioned that option. That sounds good.
> 

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.

-Jeff


More information about the cairo mailing list