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

Re: Circular paths

From: Alex Danilo <alex@abbra.com>
Date: Tue, 08 Mar 2011 15:18:10 +1100
Message-Id: <AA1QHL.TSLSA5NPJWBL@abbra.com>
To: Cameron McCormack <cam@mcc.id.au>
Cc: "Dr. Olaf Hoffmann" <Dr.O.Hoffmann@gmx.de>, www-svg@w3.org
Hi Cam,

--Original Message--:
>Alex Danilo:
>> 2) The talk about normalization relates to how many Beziers to
>>    use to approximate the arc. This is simply wrong.
>> 
>> 	The entire point of having arcs in the path syntax is to have
>> accurate curves for things like rivers in maps, etc, etc. We do not
>> use Beziers in our implementation. Just sin() and cos() as should be
>> used for an arc. A Bezier approximation will always result in error.
>
>I think the question is in terms of the normalized path segment lists on
>SVGAnimatedPathData:
>
>  http://www.w3.org/TR/SVG/paths.html#__svg__SVGAnimatedPathData__normalizedPathSegList
>
>Although reading the text there now I see that it requires normalizing
>arcs into straight line segments!

Hmm. Now I know why we want to change the DOM...
When this was done, bezier approximation may well have been assumed since
quads->cubic is trivial. I would suggest that this is indeed broken.

Alex

>-- 
>Cameron McCormack ≝ http://mcc.id.au/
>
>
>
Received on Tuesday, 8 March 2011 04:18:53 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:47 GMT