Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ psmk(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PSMK(3g)  —  Subroutines

Name

PSMK − Specifies the marker type. 

Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element

Syntax

PSMK (MTYPE)

Argument       Data Type      Access     Description
---------------------------------------------------------------------------
MTYPE          Integer        Read       Marker type
---------------------------------------------------------------------------

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

PSMK specifies the marker type value.  Digital PHIGS always displays marker type 1 as the smallest possible dot, because dots have no size and cannot be scaled. 

Depending on the current edit mode, this function either inserts the new structure element directly after the element indicated by the pointer or replaces the element indicated by the pointer.  The pointer then points to the new set marker type element. 

The set marker type element produces the following effects during structure traversal:
 

•Digital PHIGS sets the current marker type entry in the PHIGS traversal state list to the specified value.  If the corresponding current marker type ASF entry is INDIVIDUAL, Digital PHIGS uses the marker type value when traversing subsequent polymarker and polymarker 3 primitives.  If the ASF value is BUNDLED, this function has no effect on the display of primitives created subsequent to the call. 

•Digital PHIGS uses marker type value 1 if the requested value is not available on the workstation. 

If Digital PHIGS is in immediate mode, it performs this function immediately, but the function does not create a structure element. 

See the PSPMI function for information about defining a bundled marker type value. 

See Also

PQPMF
PPM
PPM3
PSIASF
PSPMR

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