FGL_DRAWBOX()

Draws a rectangle in the current window.

Syntax

FGL_DRAWBOX(
   height INTEGER,
   width INTEGER,
   line INTEGER,
   column INTEGER,
   color INTEGER )
  1. height is the height of the rectangle.
  2. width is the width of the rectangle.
  3. line is the horizontal coordinate of the upper side of the rectangle.
  4. column is the vertical coordinate of the left side of the rectangle.
  5. color is the color number (ignored).

Usage

The FGL_DRAWBOX() function draws a rectangle based on the character terminal coordinates in the current open window.

Dimensions and coordinates are specified in grid cells unit (i.e. characters).

This function is provided for backward compatibility. A call to this function will be ignored if the current window is not SCREEN based. The function is supported to draw rectangles in text mode applications.