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

Re: Circular paths

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 5 Jan 2011 10:58:00 +1300
To: Dirk Schulze <vbs85@gmx.de>
Cc: www-svg@w3.org
Message-ID: <20110104215800.GB7175@wok.mcc.id.au>
Dirk Schulze:
> If you want to have consistent behavior between viewers a minimum
> should be the number ob cubic Béziers (I think we all agree that
> cubic Béziers are the best solution for normalization, but even that
> is not specified). Depending on the arc, one to three cubic Béziers
> are necessary to normalize an arc (see older comments on the list).
> How many degree of the ellipse should be covered by every curve?
> We need some kind of algorithm in the specification. We already have
> an algorithm on WebKit that normalizes an arc for drawing it to a
> surface. While the behavior matches the behavior of Opera most of
> the time, we have examples where is doesn't (number of segements are
> different). And this will cause different normalized pathSegLists
> between viewers.

Yeah, I’d say that probably having the number of segments be consistent
across implementations is more important, given that could really trip
people up who are modifying the list.  Can it ever be the case that, for
a given number of Béziers, you get a more accurate approximation if you
don’t distribute the degrees evenly among them?

Cameron McCormack ≝ http://mcc.id.au/
Received on Tuesday, 4 January 2011 21:58:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:23 UTC