[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE INTERIOR FACILITIES (PHOP,*,*,*)
Purpose
Use
Inquire Interior Facilities
to inquire the interior facilities for the
specified workstation type.
The graPHIGS API returns data indicating the total number of
available interior styles, the number of available hatch
styles, and the total number of indexes predefined in the
interior bundle table.
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
Language Bindings
C
pinq_int_facs
(ws_type,
hatch_num_elems_appl_list, hatch_start_ind,
err_ind, int_facs, hatch_num_elems_impl_list) |
Pint ws_typeWorkstation type.
Pint hatch_num_elems_appl_listNumber of elements in the application hatch style
list
(>=0).
Pint hatch_start_indStarting index (>=0).
Pint *err_indError indicator.
Pint_facs *int_facsInterior facilities.
Pint *hatch_num_elems_impl_listNumber of elements in the implementation list.
FORTRAN
PQIF
(wtype, ni, nh,
errind, nis, is,
nhs, hs, npfai) |
integer wtypeWorkstation type.
integer niList element of interior styles requested (>=0).
integer nhList element of hatch styles requested (>=0).
integer errindError indicator.
integer nisNumber of available interior styles.
integer isNIth element in the list of
available interior styles
(0=PHOLLO, 1=PSOLID, 2=PPATTR, 3=PHATCH,
4=PISEMP).
integer nhsNumber of available hatch styles.
integer hsNHth element in list of
available hatch style indexes.
integer npfaiNumber of predefined interior indexes.
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]