FGL_DRAWLINE()

Draws a line in the current window (TUI and traditional mode).

Syntax

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

Usage

The FGL_DRAWLINE() function draws a line 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 lines in text mode applications.