W3C home > Mailing lists > Public > www-svg@w3.org > November 2011

Re: API for Retrieving Stroke Outline?

From: Charles Pritchard <chuck@jumis.com>
Date: Sun, 13 Nov 2011 14:50:05 -0800
Message-ID: <4EC0499D.2080907@jumis.com>
To: Vincent Hardy <vhardy@adobe.com>
CC: "www-svg@w3.org" <www-svg@w3.org>
The text-to-path API that Mike referenced is reasonably compatible with 
There may be some issues with arc.

I think we can side-step those issues by simply supporting SVG path 
strings in canvas
through a new method  "path" which accepts a DOMString representing an 
SVG path.

I've spoken about the method to SVG vendors as well as canvas peoples. 
Everybody loves it.
It also solves the arc issue.

Things can be very easy and very quickly implemented in this area.


On 11/10/11 6:29 PM, Vincent Hardy 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 Sunday, 13 November 2011 22:50:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:33 UTC