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

Re: [whatwg] Stroking algorithm in Canvas 2d

From: Justin Novosad <junov@google.com>
Date: Thu, 10 Oct 2013 18:35:08 -0400
Message-ID: <CABpaAqT24auFF_oUG8UShWo4YHeP7qA3vVsU6nc49oj44dGnqw@mail.gmail.com>
To: Rik Cabanier <cabanier@gmail.com>
Cc: "Jasper St. Pierre" <jstpierre@mecheye.net>, "whatwg@whatwg.org" <whatwg@whatwg.org>, Ian Hickson <ian@hixie.ch>, syhann@adobe.com
On Thu, Oct 10, 2013 at 6:15 PM, Rik Cabanier <cabanier@gmail.com> wrote:

>
>
>
> On Thu, Oct 10, 2013 at 2:48 PM, Ian Hickson <ian@hixie.ch> wrote:
>
>>
>> Sure. We can support these easily if we implement dashing as the spec says
>> now, by just adding the feature Justin suggested: an annotation on the
>> path that says to reset the dash offset.
>
>
> I didn't see that proposal.
>

I didn't use the words "reset the dash offset", but that is exactly what I
meant. It ties into what Stephan just explained. Graphic designers want to
have predictable control over the graphic design of the document.


> In Justin's first reply, he asked for a new feature (=aligning dashes)
>

I didn't use the words "aligning dashes" either, but I think we are all
talking about the same thing.

and agreed that a moveTo should restart the dashes.
>

Yes. My opinion is that it would be a more predictable and stable behavior
from a graphic design perspective. It avoids undesirable cascading effects
(i.e. tweak something over here, changes something over there).
Received on Thursday, 10 October 2013 22:35:37 UTC

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