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

RectFill

Fill a rectangular region in a RastPort.

Declaration

Source position: agraphics.pas line 2031

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