[cairo] [RFC] Add device_extents api
Behdad Esfahbod
behdad at behdad.org
Tue Feb 3 11:46:20 PST 2009
Jeff Muizelaar wrote:
> 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.
>
> How do we plan on doing this? I don't know if we can just change the
> current implementation as that will likely break all the applications
> that currently use it. For example, if, like moonlight, you switch to an
> identity matrix before getting the extents and expect to get the device
> extents we can't just start returning the user space extents because
> they'll be too small.
Huh? If matrix is identity, the broken and ideal extents are the same.
Either I'm missing something huge or you're talking about something else.
This problem can be fixed and doesn't need new API.
I see your point about stroke width. Another option is to lock the stroke pen.
behdad
> -Jeff
>
More information about the cairo
mailing list