[webkit-dev] Proposal: Add webkitFillRule to canvas

Ian Hickson ian at hixie.ch
Fri Jan 4 17:42:12 PST 2013


On Fri, 4 Jan 2013, Rik Cabanier wrote:
> 
> How about EOClip? That is a construct that is far more used than eofill.
> Will that get its own parameter too?

As specced it uses the same parameter.


> How about the interaction of stroking and this parameter (if you follow the
> spec's wording for stroking)?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20569


> How about ispointinpath? Will that follow the winding rule in the 
> graphic state?

That's what the spec says currently, yes.


> How about hit regions? How can you specify the winding there?

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20558


> It's better to follow what almost every other graphics library has done:
> Add an EOFill and an EOClip.

This is the wrong mailing list to argue this, but in general I don't see 
why it's better. Just asserting that it is, or that other platforms do it, 
is not compelling.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the webkit-dev mailing list