Re: API for Retrieving Stroke Outline?

Hi Vincent,

SVG has stroke features such as markers and dashing that Canvas does not
have.
The end result of an outlined stroke might also be sensitive to winding
rules. Canvas only seems to implement non-zero winding (and I'm unsure how
well it implements that since it's just a footnote in the spec).

Are you thinking that we should extend canvas or should we make sure that
the 'svg style stroke' is compatible with canvas?

Rik

On Thu, Nov 10, 2011 at 7:29 PM, Vincent Hardy <vhardy@adobe.com> wrote:

> Hi Mike,
>
> I share your interest in having an API for geometry manipulation, I think
> it would be extremely helpful and if we create such an API, I think we
> should be careful to make it work for both Canvas and SVG.
>
> Vincent
>
> > I think Mike is looking for a JavaScript API to get the outlined stroke.
> > The vector effects don't specify how you can do this.
>
> Correct.
>
> Mike
>
>
>

Received on Monday, 14 November 2011 03:56:06 UTC