Fill a rectangular region in a RastPort.
Source position: agraphics.pas line 2344
procedure RectFill( |
Rp: PRastPort; |
XMin: LongInt; |
YMin: LongInt; |
XMax: LongInt; |
YMax: LongInt |
); |
Rp |
|
A pointer to a RastPort |
XMin |
|
Left edge of rectange to fill |
YMin |
|
Top edge of rectange to fill |
XMax |
|
Right edge of rectange to fill |
YMax |
|
Bottom edge of rectange to fill |
Fills the rectangular region specified by the parameters with the chosen pen colors, areafill pattern, and drawing mode. If no areafill pattern is specified, fill the rectangular region with the FgPen color, taking into account the drawing mode.
The following relation must be true: (xmax >= xmin) and (ymax >= ymin)
Complement mode with FgPen complements all bitplanes.
|
Process table of vectors and ellipses and produce areafill. |