StdArc
StdArc The default Quickdraw arc/wedge-drawing routine
#include <Quickdraw.h> Quickdraw
void StdArc(gVerb, theRect, startAngle, arcAngle );
GrafVerb gVerb ; frame, paint, erase, invert, or fill
Rect *theRect ; rectangle enclosing oval in local coordinates
short startAngle ; position on oval to start drawing
short arcAngle ; amount of oval to draw; direction to move
This is Quickdraw's default low-level routine for drawing arcs and wedges.
The object is framed (an arc) or, painted, erased, inverted, or filled (a
wedge), depending upon the grafVerb.
gVerb is a GrafVerb enumerated-integer data type specifying the operation
to perform; it must be one of:
frame 0 draw the outline using current pen parameters
paint 1 fill with thePort->pnPat
erase 2 fill with thePort->bkPat
invert 3 toggle all bits enclosed by the object
fill 4 fill with thePort->fillPat
theRect is the address of an 8-byte Rect structure, expressed in local
coordinates, which defines the location, size, and shape of the oval, of
which the arc is a subset.
startAngle specifies the starting position and . . .
arcAngle specifies the distance along the arc to be framed or filled See
FrameArc for a description of Quickdraw "rectangular degrees
and related information and illustrations.
Returns: none

Notes: Use StdArc only if your application intercepts the Quickdraw bottleneck
routines (see SetStdProcs).
All grafVerbs are performed using values taken from the current GrafPort.
Output is clipped to portBits.bounds, portRect, visRgn, and clipRgn. This
function does not affect the pen position.
If you're recording a picture (see OpenPicture), StdArc incorporates
the arc or wedge into its definition.