« Return to Thread: Circles are not very circular

Re: Circles are not very circular

by Mark Wibrow-2 :: Rate this Message:

Reply to Author | View in Thread

Hi,

Your suggestion of 0.55228475 is what I understand to give the
*maximum* error for cubic bezier approximation of circular arcs. The
minimum error (again as I understand it - I am not a maths or a CAD
person) is actually provided by 0.55191496.

However, having just looked at \pgfpathellipse I see that the "magic
number" used is actually 0.555, which is neither of these two. I don't
why this number was chosen, but there may have been a good reason.

I suggest submitting this either as a bug or a feature request.

In the mean time replacing 0.555 in \pgfpathellipse with numbers of
your choice may provide preferable results (and will effect all paths
such as circle and ellipse in TikZ). \pgfpathellipse is defined in
\pgfcorepathconstruct.code.tex

Regards

Mark

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users

 « Return to Thread: Circles are not very circular