Fill a defined rectangular area using the current BackFill hook.
Source position: agraphics.pas line 2110
procedure EraseRect( |
Rp: PRastPort; |
XMin: LongInt; |
YMin: LongInt; |
XMax: LongInt; |
YMax: LongInt |
); |
Rp |
|
A pointer to a RastPort structure |
XMin |
|
X coordinate of the upper left corner of the region to fill. |
YMin |
|
Y coordinate of the upper left corner of the region to fill. |
XMax |
|
X coordinate of the lower right corner of the region to fill. |
YMax |
|
Y coordinate of the lower right corner of the region to fill. |
Fill the rectangular region specified by the parameters with the BackFill hook. If non-layered, the rectangular region specified by the parameters is cleared. If layered the ^.BackFill Hook is used. The following relation must be true: (xmax >= xmin) and (ymax >= ymin)