GfxFillSolidRect
- fill rectangle with solid color

Low-level graphics
(AmiBroker 6.10)


SYNTAX GfxFillSolidRect( x1, y1, x2, y2, color )
RETURNS NOTHING
FUNCTION GfxFillSolidRect is the fastest method to fill solid rectangle with single color (faster than GfxRectangle).

  • x1, y1 define upper left corner,
  • x2, y2 define lower right corner of the rectangle.
x1 should be less or equal x2. y1 should be less or equal y2.

The function does not require and does not use brush (so you do NOT need to call GfxSelectSolidBrush before it).

EXAMPLE pw = Status("pxwidth");
ph = Status("pxheight");

GfxFillSolidRect( 0, 0, pw, ph, colorBlack );
SEE ALSO GfxRoundRect() function , GfxRectangle() function , GfxSelectSolidBrush() function

References:

The GfxFillSolidRect function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.