W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2013

Re: [whatwg] Stroking algorithm in Canvas 2d

From: Justin Novosad <junov@google.com>
Date: Mon, 28 Oct 2013 10:04:39 -0400
Message-ID: <CABpaAqRSxD6ARrQ+bEHCHdFK_4B+Byfx5a7d0eV6kU61-XjmLQ@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>, Ian Hickson <ian@hixie.ch>
On Sun, Oct 27, 2013 at 10:36 PM, Rik Cabanier <cabanier@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.
Received on Monday, 28 October 2013 14:05:09 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:12 UTC