[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPQPLR - Inquire Predefined Polyline Representation
GPQPLR
(wstype,
index,
errind,
ltype,
lwidth,
color) |
Note:
This subroutine is a Workstation Description Table (WDT)
inquiry.
For an overview, see
"WDT Inquiries"
Purpose
Use
GPQPLR to inquire the predefined polyline
attributes in an entry of the bundle table for the specified
workstation type.
The graPHIGS API returns the polyline type
(ltype), width
(lwidth), and color
(color) for the specified index of the
specified workstation type.
If the information is available, then the graPHIGS API sets the
error indicator to zero and returns the values in the output
parameter.
If the inquired information is unavailable, then the error
indicator
(errind) contains the error
number indicating the reason, and the values returned in the
output parameter are unpredictable.
Parameters
wstype -- specified by user,
8-byte character string
Workstation type.
index -- specified by user, fullword integer
Predefined polyline bundle table index (>=1)
errind -- returned by the graPHIGS API, fullword integer
Error indicator. If the error indicator is zero, the request has been
completed. Otherwise, one of the following errors exists:
- 23
- SPECIFIED WORKSTATION TYPE DOES NOT EXIST
- 35
- WORKSTATION HAS ONLY INPUT CAPABILITIES
- 43
- BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
- 60
- BUNDLE INDEX VALUE < ONE
- 548
- SPECIFIED WORKSTATION TYPE CANNOT BE LOADED
ltype -- returned by the graPHIGS API, fullword integer
Line type corresponding to the specified entry in the
workstation's line type table.
The table size and specific entries supported are
workstation dependent.
The default line type table for supported entries is defined
with the following line types:
(1=SOLID_LINE, 2=DASHED, 3=DOTTED, 4=DASH_DOT,
5=LONG_DASH, 6=DOUBLE_DOT, 7=DASH_DOUBLE_DOT,
8-n=SOLID_LINE
)
lwidth -- returned by the graPHIGS API, short floating-point number
Polyline width scale factor corresponding to the
specified entry.
color -- returned by the graPHIGS API, fullword integer
Polyline color index corresponding to the specified entry.
Error Codes
None
Related Subroutines
- GPQRCT
- Inquire Realized Connection Type
RCP code
201339908
(X'0C003404')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]