StdPoly
StdPoly The default Quickdraw polygon-drawing routine
#include <Quickdraw.h> Quickdraw
void StdPoly(gVerb, thePoly );
GrafVerb gVerb ; frame, paint, erase, invert, or fill
PolyHandle thePoly ; handle leading to Polygon to draw
This is Quickdraw's default low-level routine for drawing polygons. The
polygon is framed, painted, erased, inverted, or filled, 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
thePoly is a handle leading to a variable-length Polygon structure,
expressed in local coordinates, which defines the vertices of the
polygon to draw. See FramePoly for illustrations and related
information.
Returns: none

Notes: Use StdPoly 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 a region is currently open and being formed (see OpenRgn), and
gVerb=frame, the polygon's interior is added to the region's structure. If
you're recording a picture (see OpenPicture), StdPoly incorporates the
polygon into its definition.