[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE PREDEFINED INTERIOR REPRESENTATION (PHOP,*,*,*)
Purpose
Use
Inquire Predefined Interior Representation
to inquire the predefined settings for the
interior attributes in the interior bundle table of the
specified workstation type.
The graPHIGS API returns the interior style, the style index,
and the interior color index for the predefined interior
bundle table.
The returned attributes correspond to the requested bundle
table index.
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:
- 2
- Function Requires State (PHOP,*,*,*)
- 52
- Workstation Type Not Recognized By Implementation
- 51
- Information Not Available For Generic Workstation Type
- 59
- Specified Workstation Does Not Have Output Capability
- 62
- This Information Not Available For MO Workstation Type
- 100
- Bundle Index Value Is Less Than One
- 102
- Representation Has Not Been Predefined On This Workstation
Language Bindings
C
pinq_pred_int_rep
(ws_type,
index, err_ind, bundle) |
Pint ws_typeWorkstation type.
Pint indexPredefined interior index
(>=1).
Pint *err_indError indicator.
Pint_bundle *bundlePredefined interior representation.
FORTRAN
PQPIR
(wtype, pii, errind,
style, stylid, coli) |
integer wtypeWorkstation type.
integer piiPredefined interior index
(>=1).
integer errindError indicator.
integer styleInterior style
(0=PHOLLO, 1=PSOLID, 2=PPATTR, 3=PHATCH,
4=PISEMP).
integer stylidInterior style index.
integer coliInterior color index.
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]