PSPMR(3g) — Subroutines
Name
PSPMR − Defines the attributes of a polymarker representation.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PSPMR (WKID, PMI, MTYPE, MSZSF, COLI)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier.
PMI Integer Read Polymarker index.
MTYPE Integer Read Polymarker type.
MSZSF Real Read Marker size scale factor. The
default value is 1.0.
---------------------------------------------------------------------------
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.
---------------------------------------------------------------------------
Other, nonstandard, marker types are available. See Constants.
Description
PSPMR associates the polymarker index with the marker type, marker size scale factor, and polymarker color index values in the polymarker 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 polymarker 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 polymarker and polymarker 3 primitives, the current polymarker index entry in the PHIGS traversal state list refers to an entry in the polymarker bundle table.
•If Digital PHIGS cannot find the current polymarker index value in the polymarker bundle table on the specified workstation, it uses polymarker index 1.
•Digital PHIGS binds aspects to the primitives, as directed by the values of the corresponding ASFs (BUNDLED or INDIVIDUAL).
See Also
PQPMF
PQPMR
PQWKSL
PPM
PPM3
PSIASF
PSMKSC
PSMK
PSPMC
PSPMCI
PSPMI
PSPMP