[cairo] question about winding rules

Rik Cabanier cabanier at gmail.com
Mon Jan 7 13:12:14 PST 2013


a discussion has been going on about how winding rules should be specified
in Canvas.
As you may know, mozilla defined a graphic state operator 'fillStyle' that
sets the winding that should be applied when clipping or filling. Looking
at their source code, it seems that this was done because this is how cairo
implemented it as well.

All other graphics libraries that I'm aware of, have a separate call like
eofill or eoclip to accomplish this.
Is Cairo doing something with this value while you issue drawing commands?
Or is it just applied at fill/clip time?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130107/4c3f5a19/attachment.html>

More information about the cairo mailing list