Important: The information in this document is obsolete and should not be used for new development.
PaintPoly
To paint a polygon with the graphics pen's pattern and pattern mode, use thePaintPoly
procedure.
PROCEDURE PaintPoly (poly:\xDDPolyHandle);
poly
- A handle to the polygon to paint.
DESCRIPTION
Using the pen pattern and pattern mode for the current graphics port, thePaintPoly
procedure draws the interior of a polygon whose handle you pass in thepoly
parameter. The pen location does not change.SPECIAL CONSIDERATIONS
Do not create a height or width for the polygon greater than 32,767 pixels, orPaintPoly
will crash.The
PaintPoly
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
You can use theFillPoly
procedure, described next, to draw the interior of a polygon with a pattern different from that specified in thepnPat
field of the current graphics port.