fgl_drawline()

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

Syntax

fgl_drawline(
   posY INTEGER,
   posX INTEGER,
   width INTEGER,
   type CHAR(1),
   color INTEGER)
  1. posY is the vertical coordinate (line) of the start of the line.
  2. posX is the horizontal coordinate (column) of the start of the line.
  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 cell units (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.