nanogui: Microwindows for Hercules
Subject:
RE: Microwindows for Hercules
From:
Greg Haerr ####@####.####
Date:
20 Jul 1999 17:36:39 -0000
Message-Id: <01BED2A3.AD6DA9A0.greg@censoft.com>
: Procedure Circle(Cx, Cy, y : integer; color : byte);
:
: { Draws circle with center (Cx, Cy) and radius y }
: { Bresenham's circle algorithm implemented }
: { Edge-of-screen clipping implemented }
:
[snip]
A turtle-graphics-bresenham circle-drawer. What do ya know?
It's a kindof interesting algorithm. I'll compare it to the current one
I use. One point, though, the nano-X algorithm uses an algorithm
that will draw a circle or an ellipse with the same code. If the circle
code won't draw an ellipse, then we get to duplicate a bunch of stuff.
Greg