[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface : Subroutine Reference
GPQIR - Inquire Interior Representation
GPQIR
(wsid,
index,
type,
errind,
style,
sindex,
icol) |
Purpose
Use
GPQIR to inquire the current
attribute values in the specified entry in
the interior bundle table for the specified workstation.
If the inquired information is available,
then the graPHIGS API sets the error indicator to zero
and returns the values in the output parameters.
If the inquired information is unavailable, then
the error indicator
(errind)
contains an error number indicating the reason,
and the values returned in the output parameters
are unpredictable.
Parameters
wsid -- specified by user, fullword integer
Workstation identifier.
index -- specified by user, fullword integer
Interior bundle table index (>=1)
type -- specified by user, fullword integer
Type of returned values
(1=SET
)
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:
- 25
- SPECIFIED WORKSTATION DOES NOT EXIST
- 35
- WORKSTATION HAS ONLY INPUT CAPABILITIES
- 43
- BUNDLE INDEX EXCEEDS WORKSTATION TABLE CAPACITY
- 60
- BUNDLE INDEX VALUE < ONE
- 526
- REQUESTED DATA NOT AVAILABLE FOR THIS FUNCTION
- 534
- TYPE VALUE IS INVALID
style -- returned by the graPHIGS API, fullword integer
Interior style for the specified entry
(1=HOLLOW, 2=SOLID, 3=PATTERN, 4=HATCH, 5=EMPTY
)
sindex -- returned by the graPHIGS API, fullword integer
Interior style index for the specified entry.
icol -- returned by the graPHIGS API, fullword integer
Interior color index for the specified entry.
Note:
Direct interior color returns error indicator
526
Error Codes
None
Related Subroutines
- GPQXIR
- Inquire Extended Interior Representation
- GPXIR
- Set Extended Interior Representation
RCP code
201339139
(X'0C003103')
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]