[cairo] [RFC] Add device_extents api

Behdad Esfahbod behdad at behdad.org
Thu Mar 26 12:12:32 PDT 2009


On 03/26/2009 12:02 AM, Robert O'Callahan wrote:
> On Thu, Feb 12, 2009 at 5:42 PM, Robert O'Callahan <robert at ocallahan.org
> <mailto:robert at ocallahan.org>> 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
>
> This is still hurting us and we seem no closer to a resolution.
>
> It's maddening that cairo has the device-space stroke extents and we
> can't get them because no-one can decide what the correct API is.

What I like to see is Mozilla come up with a proposed patch that makes you 
happy and is in line with cairo's API guidelines.  Carl and I have said 
numerous times that making stroke width locking is how we'd like to see this 
solved, and there have been patches for it before.  So all needed is for 
someone to sit down and finish them.  Makes sense?  Or am I missing another 
case here?


behdad


> Rob
> --
> "He was pierced for our transgressions, he was crushed for our
> iniquities; the punishment that brought us peace was upon him, and by
> his wounds we are healed. We all, like sheep, have gone astray, each of
> us has turned to his own way; and the LORD has laid on him the iniquity
> of us all." [Isaiah 53:5-6]


More information about the cairo mailing list