PaintRgn
PaintRgn
Fill a region with current pen pattern and mode RgnHandle theRgn ; handle of the region to paint PaintRgn fills the interior of a region with the current pen pattern, in the current transfer mode.
theRgn is the handle of a region in the current GrafPort.
Notes: This is a superset of the FillRgn function, in that you get to choose the transfer mode (see PenMode). Note that if the pen is not visible (see HidePen), this function has no effect. PaintRgn doesn't change the pen position. As with all Quickdraw drawing, the output is clipped to the intersection of
clipping region, and visible region.