GSDJPLY(3g,L) AIX Technical Reference GSDJPLY(3g,L)
-------------------------------------------------------------------------------
gsdjply
PURPOSE
Draws a polyline, a set of lines that connects a sequence of points.
C SYNTAX
int gsdjply_ (polylines, points, x, y)
int *polylines, *points, *x, *y;
FORTRAN SYNTAX
INTEGER function gsdjply (polylines, points, x, y)
INTEGER polylines, points (*), x (*), y (*)
PASCAL SYNTAX
FUNCTION gsdjply_ (
VAR polylines: INTEGER;
VAR points: ARRAY [1..k] of INTEGER;
VAR x, y: ARRAY [1..l] of INTEGER
): INTEGER [PUBLIC];
DESCRIPTION
The gsdjply subroutine draws a series of polylines as a set of lines, as
defined by the current relevant attributes.
The relevant attributes are:
o Color map
o Plane mask
o Line color index
o Line style
o Logical operation.
Parameters
polylines
Defines the number of polylines to draw. This value must be => 1.
points Defines, as an array, the number of points in each polyline. These
values must be => 2.
x, y Define, as an array, the points for line drawing.
Processed November 7, 1990 GSDJPLY(3g,L) 1
GSDJPLY(3g,L) AIX Technical Reference GSDJPLY(3g,L)
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 and l
in the routine declaration must be constants.
RETURN VALUE
GS_SUCC Successful.
GS_CORD Invalid coordinate.
GS_NCOR Invalid number of coordinates.
GS_INAC Virtual terminal inactive.
Processed November 7, 1990 GSDJPLY(3g,L) 2