gspoly
Purpose
Draws a polyline, a set of lines that connects a sequence
of points.
C Syntax
int gspoly_ (number, x, y)
int *number, *x, *y;
FORTRAN Syntax
INTEGER function gspoly (number, x, y)
INTEGER number, x (*), y (*)
Pascal Syntax
FUNCTION gspoly_ (
VAR number: INTEGER;
VAR x, y: ARRAY [1..k| of INTEGER
): INTEGER [PUBLIC|;
Description
The gspoly subroutine draws lines, as defined by the
current relevant attributes, between each pair of points
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
number Defines the number of points in the
coordinate arrays. It must be Y 2.
x, y Define the points for line drawing.
For Pascal, the application must declare the arrays
passed as being fixed length and declare the routine as
accepting arrays of that length. The k in the routine
declaration must be a constant.
Return Value
GS_SUCC Successful.
GS_CORD Invalid coordinate.
GS_NCOR Invalid number of coordinates.
GS_INAC Virtual terminal inactive.