GSLINE(3g,L) AIX Technical Reference GSLINE(3g,L)
-------------------------------------------------------------------------------
gsline
PURPOSE
Draws a line between two points.
C SYNTAX
int gsline_ (x1, y1, x2, y2)
int *x1, *y1, *x2, *y2;
FORTRAN SYNTAX
INTEGER function gsline (x1, y1, x2, y2)
INTEGER x1, y1, x2, y2
PASCAL SYNTAX
FUNCTION gsline_ (
VAR x1, y1, x2, y2: INTEGER
): INTEGER [PUBLIC];
DESCRIPTION
The gsline subroutine draws a line, as defined by the current relevant
attributes, from the first point to the second point defined by the parameters.
The relevant attributes are:
o Color map
o Plane mask
o Line color index
o Line style
o Logical operation.
Parameters
x1, y1 Defines the coordinates of one end point of the line drawn by
gsline.
x2, y2 Defines the coordinates of the second point of the line drawn
by gsline.
RETURN VALUE
GS_SUCC Successful.
Processed November 7, 1990 GSLINE(3g,L) 1
GSLINE(3g,L) AIX Technical Reference GSLINE(3g,L)
GS_CORD Invalid coordinate.
GS_INAC Virtual terminal inactive.
Processed November 7, 1990 GSLINE(3g,L) 2