[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE INTERIOR REPRESENTATION (PHOP,WSOP,*,*)
Purpose
Use
Inquire Interior Representation
to inquire the current attribute values in the
specified entry in the interior bundle table for the
specified workstation.
Your application may specify
returned values of either type SET or REALIZED.
Possible interior styles include:
HOLLOW,
SOLID, PATTERN, HATCH, and
EMPTY.
If the information is available, then the graPHIGS API sets
the error indicator to zero and returns the values in
the output parameters.
If the information is unavailable,
then the values returned in the output parameters
are unpredictable and the graPHIGS API sets the error indicator
to one of the following errors:
- 3
- Function Requires State (PHOP,WSOP,*,*)
- 54
- Specified Workstation Is Not Open
- 59
- Specified Workstation Does Not Have Output Capability
- 100
- Bundle Index Value Is Less Than One
- 101
- Specified Representation Has Not Been Defined
Language Bindings
C
pinq_int_rep
(ws_id,
index, type, err_ind, int_rep) |
Pint ws_idWorkstation identifier.
Pint indexInterior index
(>=1).
Pinq_type typeType of returned values
(0=PINQ_SET,
1=PINQ_REALIZED).
Pint *err_indError indicator.
Pint_bundle *int_repInterior representation.
(See
Chapter 17. "ISO PHIGS C Type and Macro Definitions" for the type definitions).
FORTRAN
PQIR
(wkid, ii, type,
errind, ints, istyli,
coli) |
integer wkidWorkstation identifier.
integer iiInterior index
(>=1).
integer typeType of returned values
(0=PSET, 1=PREALI).
integer errindError indicator.
integer intsInterior style
(0=PHOLLO, 1=PSOLID, 2=PPATTR, 3=PHATCH,
4=PISEMP).
integer istyliInterior style index.
integer coliInterior color index.
Errors
None
Related Subroutines
Set Interior Representation
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]