Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gsdjply(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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 attri-
     butes.

     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 Y 1.

     points    Defines the number of  points in each polyline.
               This value must be Y 2.

     x, y      Define,  as  an  array,  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  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.

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026