PaintPoly
PaintPoly Fill a polygon with the current pen pattern
#include <Quickdraw.h> Quickdraw
void PaintPoly(thePoly );
PolyHandle thePoly ; handle of polygon to fill
PaintPoly fills the interior of a polygon, using the current pen pattern and
transfer mode.
thePoly is a handle that leads to a variable-length Polygon structure. It is
typically a value obtained via OpenPoly.
Returns: none

Notes: PaintPoly works by creating a temporary region, consisting of the pixels
enclosed by the polygon (see PaintRgn).
If thePoly is not a true polygon, in that it is not a closed set of lines, this
function works as if a line had been drawn between the last endpoint and the
first; e.g.:
PaintPoly doesn't change th pen position.
As with all Quickdraw drawing, the output is clipped to the intersection of
the current GrafPort's BitMap boundary rectangle, the port rectangle,
clipping region, and visible region.