Re: [whatwg] Stroking algorithm in Canvas 2d

On Thu, Oct 10, 2013 at 12:25 PM, Justin Novosad <junov@google.com> wrote:

>
>
>
> On Thu, Oct 10, 2013 at 1:37 PM, Rik Cabanier <cabanier@gmail.com> wrote:
>
>>
>>  The main issue I see with that algorithm is that it does not solve the
>>> case where you would want a join and a dashing break at the same point. I
>>> think that is an important case to support, in particular for drawing
>>> rectangles.
>>>
>>
>> Can you send a screenshot/jsfiddle about what you're trying to accomplish?
>>
>
> http://jsfiddle.net/ZxR6P/1/
>

Yes, that looks like "Align dashes to corners and path ends" [1]
Output from Illustrator: http://jsfiddle.net/k6H6e/2/
<http://jsfiddle.net/k6H6e/2/>

1:
http://help.adobe.com/en_US/illustrator/cs/using/WSA1E31D7D-13E6-41ac-AA8C-4AD129B9FC1Ca.html

Received on Thursday, 10 October 2013 19:44:13 UTC