Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

RectFill

Fill a rectangular region in a RastPort.

Declaration

Source position: agraphics.pas line 2369

procedure RectFill(

  rp: pRastPort;

  xMin: LongInt;

  yMin: LongInt;

  xMax: LongInt;

  yMax: LongInt

);

Arguments

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

Description

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)

Errors

Complement mode with FgPen complements all bitplanes.

See also

AreaEnd

  

Process table of vectors and ellipses and produce areafill.


Documentation generated on: 2021-07-30