W3C home > Mailing lists > Public > public-canvas-api@w3.org > July to September 2012

Re: new arcTo parameters

From: Charles Pritchard <chuck@jumis.com>
Date: Tue, 21 Aug 2012 17:33:53 -0700
Message-ID: <503428F1.5020907@jumis.com>
To: Rik Cabanier <cabanier@gmail.com>
CC: public-canvas-api@w3.org
On 8/21/2012 2:25 PM, Rik Cabanier wrote:
>
> While looking through the new spec, I noticed that arcTo now takes 2 
> optional commands: RadiusY and rotation.
>
>
> SVG has 2 more parameters that give you even more control (see the 
> spec for details). Would it make sense to add those as well?
>
> 1: http://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands 


We've been using curves instead of arcTo, on my projects.
I'm fairly neutral on this.


Is there an appropriate way to feature test that changes to arcTo are 
present/supported?

I do like the idea of arcTo being even closer to SVG.
There seems to be full consensus that an item like: context.svgPath('A 
rx ry x-axis-rotation large-arc-flag sweep-flag x y') ought to be supported.
We could just have that SVG string path method without altering the 
current signature of methods.

Benefits there are continued stability of the API, compatibility with 
existing distributions, and a focus on supporting SVG paths through a 
single string-based method.

-Charles
Received on Wednesday, 22 August 2012 00:34:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 August 2012 00:34:19 GMT