[cairo] [RFC] Add device_extents api

Robert O'Callahan robert at ocallahan.org
Fri Feb 13 03:07:52 PST 2009

On Fri, Feb 13, 2009 at 5:47 PM, Soeren Sandmann <sandmann at daimi.au.dk>wrote:

> 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.

I think it's overkill for this problem. As I understand it, cairo can
already compute the device-space stroke extents; we're just trying to agree
on the right API to expose that data.

I need to have a good look at your proposed damage API. I'm pretty sure that
we wouldn't be able to use it for complete SVG scenes, only one SVG
primitive at a time, since the SVG pointer-events property and other issues
(filters) require per-primitive adjustments to invalidation and hit testing
... so it may not be much win for us beyond the ability to get the extents
of a path or glyph.

"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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cairographics.org/archives/cairo/attachments/20090214/e5427f2f/attachment.html 

More information about the cairo mailing list