[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPQPIR - Inquire Predefined Interior Representation
GPQPIR
(wstype,
index,
errind,
style,
sindex,
icol) |
Note:
This subroutine is a Workstation Description Table (WDT)
inquiry.
For an overview, see
"WDT Inquiries"
Purpose
Use
GPQPIR to inquire the predefined settings
for the interior attributes in the interior bundle table for
the specified workstation type.
The graPHIGS API returns the interior style
(style), the style index
(sindex), and the interior color index
for the predefined interior bundle table
(icol)
The returned attributes correspond to the requested bundle
table index.
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 interior 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
style -- returned by the graPHIGS API, fullword integer
Interior style corresponding to the specified entry
(1=HOLLOW, 2=SOLID, 3=PATTERN, 4=HATCH, 5=EMPTY
)
sindex -- returned by the graPHIGS API, fullword integer
Style index corresponding to the specified entry.
icol -- returned by the graPHIGS API, fullword integer
Interior color index corresponding to the specified entry.
Error Codes
None
Related Subroutines
- GPQRCT
- Inquire Realized Connection Type
RCP code
201339907 (X'0C003403')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]