On Fri, Feb 13, 2009 at 5:47 PM, Soeren Sandmann <span dir="ltr">&lt;<a href="mailto:sandmann@daimi.au.dk">sandmann@daimi.au.dk</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="Ih2E3d">If I understand that bug correct, then the damage tracking API that I<br></div>
proposed in a different thread may do what you need, and in fact<br>
possibly allow you to repaint less than the full bounding box of the<br>
curve.<br></blockquote><div><br>I think it&#39;s overkill for this problem. As I understand it, cairo can already compute the device-space stroke extents; we&#39;re just trying to agree on the right API to expose that data.<br>
<br>I need to have a good look at your proposed damage API. I&#39;m pretty sure that we wouldn&#39;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.<br>
</div></div><br>Rob<br>-- <br>&quot;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.&quot; [Isaiah 53:5-6]<br>