PQPLF(3g) — Subroutines
Name
PQPLF − Returns line width and type information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
PQPLF (WTYPE, N, ERRIND, NLT, LT, NLW, NOMLW, RLWMIN, RLWMAX, NPPLI)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
N Integer Read Sequence number of the list
element requested
ERRIND Integer Write Error indicator
NLT Integer Write Number of available line types
LT Integer Write Nth element of the list of
available line types
NLW Integer Write Number of available line widths
NOMLW Real Write Nominal line width, in device
coordinates
RLWMIN, RLWMAX Real Write Range of line widths, in device
coordinates
NPPLI Integer Write Number of predefined polyline
indexes
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
LT PLSOLI Solid edge
PLDASH Dashed edge
PLDOT Dotted edge
PLDASD Dashed-dotted edge
PLDS2D Dash-2-dots edge
PLDS3D Dash-3-dots edge
PLLDS Long dashed edge
PLLSDS Long-short dashed edge
PLSPDS Spaced dashed edge
PLSPD Spaced dotted edge
PL2D Double-dotted edge
PL3D Triple-dotted edge
---------------------------------------------------------------------------
Description
PQPLF queries the workstation description table and returns values for the following:
•Number of available line types
•Nth element of the list of available line types
•Number of available line widths
•Nominal line width, in device coordinates
•Minimum and maximum line widths, in device coordinates
•Number of predefined polyline indexes
The value of the number of available line types has the following interpretations:
Value Result
Positive The list of available line types contains all registered
and implementation-dependent line types.
Negative Two conditions apply:
- Digital PHIGS derives the implementation-dependent line
types directly from the value and the line type aspect.
- The list of available line types contains the registered
line types supported, the number of which is the absolute
value of the number of available line types.
If Digital PHIGS returns 0 as the number of available line widths, the workstation supports a continuous range of line widths.
See Also
PQPPLR
PQPPLP
PSPLR
PSPLP