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 22:50:21 -0700
Message-Id: <D0A0B2AC-C123-4BE0-89EC-6687AA977D29@jumis.com>
Cc: Rik Cabanier <cabanier@gmail.com>, "public-canvas-api@w3.org" <public-canvas-api@w3.org>
To: Cameron McCormack <cam@mcc.id.au>

On Aug 21, 2012, at 10:39 PM, Cameron McCormack <cam@mcc.id.au> wrote:

> Charles Pritchard:
>> We could dictionary it; seems to be the fashion and that would get our try-catch  trigger working.
> 
> That would be an improvement, but I think half of the problem is that it is not intuitive what "large-arc" and "sweep" mean (the names the gives those two flags).  Not sure where try-catch comes in.


Bikeshed some better names for the flags/features.
> 

context.arcTo({}) is likely to throw an exception, which we can use to feature test. I say likely because I'm not in front of a proper environment.

-Charles
Received on Wednesday, 22 August 2012 05:51:02 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 August 2012 05:51:02 GMT