Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pspmp(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSPMP(3g)  —  Subroutines

Name

PSPMP − Modifies the entries in the extended polymarker bundle table. 

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

Old Syntax

DSPMRP (WKID, PMI, MTYPE, MSZSF, CLRTYP, ICOLR, COLR)

Argument        Data Type     Access     Description
---------------------------------------------------------------------------
WKID            Integer       Read       Workstation identifier
PMI             Integer       Read       Polymarker index
MTYPE           Integer       Read       Polymarker type
MSZSF           Real          Read       Polymarker size scale factor
CLRTYP          Integer       Read       Polymarker color type
ICOLR           Integer       Read       Polymarker indexed color value
COLR(3)         Array of      Read       Polymarker direct color value
                reals
---------------------------------------------------------------------------

New Syntax

PSPMP (WKID, PMI, MTYPE, MSZSF, CTYPE, COLI, NCC, COLR)

Argument        Data Type     Access     Description
---------------------------------------------------------------------------
WKID            Integer       Read       Workstation identifier
PMI             Integer       Read       Polymarker index
MTYPE           Integer       Read       Polymarker type
MSZSF           Real          Read       Polymarker size scale factor
CTYPE           Integer       Read       Polymarker color type
COLI            Integer       Read       Color index
NCC             Integer       Read       Number of color value components
COLR(NCC)       Array of      Read       Polymarker color values
                reals
---------------------------------------------------------------------------

Constants

Defined Argument     Constant     Description
---------------------------------------------------------------------------
MTYPE                PPOINT       Dot marker.
                     PPLUS        Plus marker.
                     PAST         Asterisk marker.  This is the default
                                  value.
                     POMARK       Circle marker.
                     PXMARK       Diagonal cross marker.
CTYPE                PINDIR       Indirect (indexed) color.
                     PRGB         Direct specification of red, green, and
                                  blue.
                     PCIE         Direct specification in the format of the
                                  Commission Internationale de l’Eclairage.
                     PHSV         Direct specification of hue, saturation,
                                  and value.
                     PHLS         Direct specification of hue, lightness,
                                  and saturation.
---------------------------------------------------------------------------

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

Description

PSPMP allows you to modify the entries in the llows you to modify the entries in the extended polymarker bundle table in the workstation state list by defining a new index.  There are three entries in the table: marker type, marker size scale factor, and polymarker color. 

The extended polymarker bundle table in the workstation state list has predefined entries taken from the workstation description table.  A number of these entries are predefined for every workstation of category OUTPUT and OUTIN. You can redefine any table entry using this function, including predefined entries. 

When Digital PHIGS displays polymarkers during structure traversal, the current polymarker index entry in the PHIGS PLUS traversal state list refers to an entry in the extended polymarker bundle table.  If the current polymarker index is not present in the extended polymarker bundle table, Digital PHIGS uses polymarker index 1.  The setting of the corresponding ASF determines which of the aspects in an entry Digital PHIGS uses. 

During structure traversal, if the current polymarker index does not exist in the extended table, Digital PHIGS uses polymarker index 1.  If CTYPE = PINDIR, the function uses the COLI argument. Otherwise, the function uses the COLR argument. 

The new function syntax conforms to the ISO Fortran standard.  Digital recommends that you code using the new function syntax. 

See Also

PQPMF
PQPMP
PPM
PPM3
PSIASF
PSMKSC
PSMK
PSPMCI
PSPMI
PSPMR

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