Article View: comp.sys.next.programmer
Article #2319Arcs and circles from curveto
From: Matt Brandt
Date: Mon, 11 Jan 1993 01:42
Date: Mon, 11 Jan 1993 01:42
15 lines
909 bytes
909 bytes
I've been able to come up with a pretty good approximation of a circle using curveto that works like this: x y rad 0 180 arc is approximately equivalent to: x-rad y x-rad y+2*rad/3 x+rad y+2*rad/3 x+rad y curveto of course, you can repeat for the bottom of the circle. Like I said though, this is only an approximation. Does anybody out there have a better approximation of circle drawing using curveto? I need to do it this way for bizarre reasons and I would like to improve the accuracy a little bit. matt
Technical Details
Message-ID:
<1993Jan11.014246.4735@drefla.mese.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!wa4mei!nanovx!drefla!mattShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!wa4mei!nanovx!drefla!matt From: matt@drefla.mese.com (Matt Brandt) Subject: Arcs and circles from curveto Message-ID: <1993Jan11.014246.4735@drefla.mese.com> Sender: matt@drefla.mese.com Organization: Applied Engineering Date: Mon, 11 Jan 1993 01:42:46 GMT Lines: 15