[whatwg] Stroking algorithm in Canvas 2d

Justin Novosad junov at google.com
Mon Oct 28 07:04:39 PDT 2013


On Sun, Oct 27, 2013 at 10:36 PM, Rik Cabanier <cabanier at gmail.com> wrote:

>  The outline should be done in such a way that it is not affected by
> winding.
>

Why is that important? Enforcing that can add a lot of complexity to cases
of self intersecting strokes, or line caps that overlap (
http://jsfiddle.net/aBmZ4/2/).  Today, these problems are easy to solve
correctly by using a non-zero fill.



More information about the whatwg mailing list