PQPLR(3g) — Subroutines
Name
PQPLR − Returns line type, line width scale, and polyline color index.
Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function
Syntax
PQPLR (WKID, PLI, TYPE, ERRIND, LTYPE, LWIDTH, COLI)
Argument Data Type Access Description
---------------------------------------------------------------------------
WKID Integer Read Workstation identifier
PLI Integer Read Polyline index
TYPE Integer Read Type of the returned values
ERRIND Integer Write Error indicator
LTYPE Integer Write Line type
LWIDTH Real Write Line width scale factor
COLI Integer Write Polyline color index
---------------------------------------------------------------------------
Constants
| Defined Argument | Constant | Description |
| TYPE | PSET | Use the exact state list values. |
| PREALI | Use the values approximated by the graphics handler. | |
| LTYPE | PLSOLI | Solid line. |
| PLDASH | Dashed line. | |
| PLDOT | Dotted line. | |
| PLDASD | Dashed-dotted line. | |
| PLDS2D | Dash-2-dots line. | |
| PLDS3D | Dash-3-dots line. | |
| PLLDS | Long dashed line. | |
| PLLSDS | Long-short dashed line. | |
| PLSPDS | Spaced dashed line. | |
| PLSPD | Spaced dotted line. | |
| PL2D | Double-dotted line. | |
| PL3D | Triple-dotted line. |
Defined Argument Constant Description
---------------------------------------------------------------------------
TYPE PSET Use the exact state list values.
PREALI Use the values approximated by the
graphics handler.
LTYPE 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
PQPLR queries the workstation state list and returns the line type, the line width scale factor, and the polyline color index.
If the specified polyline index is not in the polyline bundle table on the specified workstation, and the specified type of returned values is PREALI, Digital PHIGS returns the representation for polyline index 1. (See the Device Specifics Reference Manual for DEC GKS and DEC PHIGS for workstation-specific information.)
See Also
PQEPLI
PQPLP
PQPPLR
PQPPLP
PSPLR
PSPLP