ARCS: Draws an Arc, a Chord, or a Pie Wedge

ARCS illustrates the use of the Arc, Chord, and Pie functions. The program draws a bounding box and an ellipse using a dotted pen. You choose a command from the Options menu to draw an arc, a chord, or a pie wedge within the bounding box. The line or figure is drawn with a pen that is 3 pixels wide. The starting and ending points are connected to the center of the ellipse with a normal black pen.

ARCS is a companion application for “Programming Windows” by Charles Petzold. The source code for this application has not been modified or tested by Microsoft Corporation.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the arcs project." /C"samples}