Important: The information in this document is obsolete and should not be used for new development.
PaintRgn
To paint a region with the graphics pen's pattern and pattern mode, use thePaintRgnprocedure.
PROCEDURE PaintRgn (rgn:\xDDRgnHandle);
rgn- A handle to the region to paint.
DESCRIPTION
Using the pen pattern and pattern mode for the current graphics port, thePaintRgnprocedure draws the interior of the region whose handle you pass in thergnparameter. The pen location does not change.SPECIAL CONSIDERATIONS
ThePaintRgnprocedure 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 theFillRgnprocedure, described next, to draw the interior of a region with a pen pattern different from that for the current graphics port.