Important: The information in this document is obsolete and should not be used for new development.
FillCRgn
Use theFillCRgn
procedure to fill a region with a pixel pattern.
PROCEDURE FillCRgn (rgn: RgnHandle; ppat: PixPatHandle);
rgn
- A handle to the region to be filled.
ppat
- A handle to the
PixPat
record for the pixel pattern to be used for the fill.DESCRIPTION
Using thepatCopy
pattern mode and the pixel pattern defined in aPixPat
record (the handle for which you pass in theppat
parameter), theFillCRgn
procedure fills the region whose handle you pass in thergn
parameter. This procedure ignores thepnPat
,pnMode
, andbkPat
fields of the current graphics port and leaves the pen location unchanged.SPECIAL CONSIDERATIONS
TheFillCRgn
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.