PSLN(3g) — Subroutines
Name
PSLN − Specifies the line type value.
Operating States: PHOP, ∗, STOP, ∗
PHIGS standard function
Creates a structure element
Syntax
PSLN (LTYPE)
Argument Data Type Access Description
---------------------------------------------------------------------------
LTYPE Integer Read Line type
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
LTYPE PLSOLI Solid line. This is the default
value.
PLDASH Dashed line.
PLDOT Dotted line.
PLDASD Dashed-dotted line.
---------------------------------------------------------------------------
Other, nonstandard, line types are available. See Constants.
Description
PSLN specifies the line type value. 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 line type element.
The set line type element produces the following effects during structure traversal:
•Digital PHIGS sets the current line type entry in the PHIGS traversal state list to the specified value. If the corresponding current line type ASF entry is INDIVIDUAL, Digital PHIGS uses the line type value when traversing subsequent polyline and polyline 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 line 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 PSPLI function for information about defining a bundled line type value.
See Also
PQPLF
PQPLR
PBSC3
PPL
PPL3
PSIASF
PSPLR