Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gsmult(3) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gsmult

Purpose

     Draws a multiline, a set  of lines that connect alternate
     pairs of points in a sequence.

C Syntax

     int gsmult_ (number, x, y)

     int *number, *x, *y;

FORTRAN Syntax

     INTEGER function gsmult (number, x, y)

     INTEGER number, x (*), y (*)

Pascal Syntax

     FUNCTION gsmult_ (

     VAR number: INTEGER;
     VAR x, y: ARRAY [1..k| of INTEGER
     ): INTEGER [PUBLIC|;

Description

     The  gsmult subroutine  draws  lines, as  defined by  the
     current  relevant attributes,  between alternate  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  a mul-
                       tiple  of  2,  with 2  as  the  minimum
                       value.

     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.

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