Hi,
Thanks Rik for your counter proposal and thanks everyone for helping to
refine it. I am in full agreement that an evenodd or nonzero argument to
the fill() and clip() operations is better than a state property. The only
thing I can think of in favor of the fillRule property that prompted thi
Actually, fillRule was really trivial to implement since the underlying
graphics context already had that as a Boolean state attribute. All I
needed to do was expose the existing attribute through the canvas API IDL.
Take a look at the patch and notice how it doesn't actually add any new
function
All,
I recently discovered that a common and well understood 2D graphics
operation is not supported by the 2D canvas API even though it is supported
by almost every other modern 2D graphics API. This missing feature is
called even-odd fill and controls how the fill region is calculated for
self-i