Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psplr(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSPLR(3g)  —  Subroutines

Name

PSPLR − Defines the attributes of a polyline representation. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

PSPLR (WKID, PLI, LTYPE, LWIDTH, COLI)

Argument        Data Type     Access     Description
---------------------------------------------------------------------------
WKID            Integer       Read       Workstation identifier
PLI             Integer       Read       Polyline index
LTYPE           Integer       Read       Polyline type
LWIDTH          Real          Read       Line width scale factor
COLI            Integer       Read       Color index
---------------------------------------------------------------------------

Constants

Defined Argument      Constant      Description
---------------------------------------------------------------------------
LTYPE                 PLSOLI        Solid edge.  This is the default
                                    value.
                      PLDASH        Dashed edge.
                      PLDOT         Dotted edge.
                      PLDASD        Dashed-dotted edge.
---------------------------------------------------------------------------

Other, nonstandard, line types are available.  See Constants.

Description

PSPLR associates the polyline index with the line type, line width scale factor, and polyline color index values in the polyline bundle table on the workstation specified by the workstation identifier.  A call to this function allows you to create or redefine an entry for the workstation polyline bundle table.  To determine the predefined bundle table entries, which are provided for all workstations of type OUTPUT and OUTIN, and which are derived from the workstation description table, run the program phigs_predef. 

During structure traversal, the following occurs:

•When Digital PHIGS displays polyline and polyline 3 primitives, the current polyline index entry in the PHIGS traversal state list refers to an entry in the polyline bundle table. 

•If Digital PHIGS cannot find the current polyline index value in the polyline bundle table on the specified workstation, it uses polyline index value 1. 

•Digital PHIGS binds aspects to the primitives, as directed by the values of the corresponding ASFs (BUNDLED or INDIVIDUAL). 

See Also

PATR
PATR3
PQPLF
PQPLR
PQWKSL
PBSC3
PPL
PPL3
DPLS
DPLS3
PPLS3C
PSIASF
PSLN
PSLWSC
PSPLC
PSPLCI
PSPLI
PSPLP

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