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

Re: Circular paths

From: Dr. Olaf Hoffmann <Dr.O.Hoffmann@gmx.de>
Date: Tue, 4 Jan 2011 19:26:09 +0100
To: www-svg@w3.org
Message-Id: <201101041926.09643.Dr.O.Hoffmann@gmx.de>
Looks pretty much like a rounding problem, if such 'circle' approximations 
are not displayed (however the 'limit' in Opera looks quite interesting -
some rounding in the binary system?)
Because elliptical arcs belong to the full profile and not to the tiny
profile, the restriction to at most four fractional digits does not apply, 
therefore surely a bug, if browsers do not display it.

On the other hand, to get really a circle one needs at least two elliptical
arc segments. It is simple to avoid this rounding bug problem for
the author by using two or three elliptical arcs to construct the circle
(or in a tiny profile it works pretty well with three cubic path segments 
as well) - and in the elliptical arc case there is no need for a finite linear
segment due to z - inital and final point of such a two or three segment
circle can be exactly the same with a well defined circle as result.

Olaf
Received on Tuesday, 4 January 2011 18:27:44 GMT

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