Important: The information in this document is obsolete and should not be used for new development.
FillCRect
Use theFillCRect
procedure to fill a rectangle with a pixel pattern.
PROCEDURE FillCRect (r: Rect; ppat: PixPatHandle);
r
- The rectangle 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, theFillCRect
procedure fills the rectangle you specify in ther
parameter with the pixel pattern defined by aPixPat
record, the handle for which you pass in theppat
parameter. This procedure ignores thepnPat
,pnMode
, andbkPat
fields of the current graphics port and leaves the pen location unchanged.SPECIAL CONSIDERATIONS
TheFillCRect
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.