On Fri, Oct 9, 2009 at 10:51 AM, Charles Pritchard <span dir="ltr"><<a href="mailto:chuck@jumis.com">chuck@jumis.com</a>></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;">
Here is a good example of the conflict between Google and Mozilla over clip():<br>
<a href="http://www.imperialviolet.org/2009/09/02/anti-aliased-clipping.html" target="_blank">http://www.imperialviolet.org/2009/09/02/anti-aliased-clipping.html</a><br>
<br>
There is another conflict, with the composition modes between the two, with Google<br>
again taking another principled stand. I'm sorry I don't supporting links for that,<br>
but it effects many of the composite operations (at least four of them).<br>
<br>
I'm hoping to have both methods supported, I think they are both valuable.<br>
I've certainly used both methods in my work the past few years.<br>
<br>
This is very much about the clipping pipeline.<font color="#888888"></font><br clear="all"></blockquote></div><br>No, it is entirely about antialiasing. Coverage-based antialiasing causes problems whenever you draw two objects with adjacent edges that aren't aligned to pixel boundaries. It doesn't matter whether those boundaries are induced by clipping or just by filling a path. The post you linked to even refers to this:<br>
<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">The second problem with anti-aliasing, even when done correctly, is that
 it
makes it impossible to put polygons next to each other. Try <a href="http://tulrich.com/geekstuff/canvas/perspective.html">this demo</a>
 in
Firefox and note the hairlines caused by anti-aliasing.<br></blockquote><div><br>Personally I'm not a big fan of coverage-based antialiasing for exactly this reason, but it's the most common antialiasing technique in graphics libraries so it's hard to get away from.<br>
</div><br>Rob<br>-- <br>"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]<br>