Fill a rectangular region in a RastPort.
Source position: agraphics.pas line 2369
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. |