[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE POLYLINE FACILITIES (PHOP,*,*,*)
Purpose
Use
Inquire Polyline Facilities
to inquire the polyline facilities for the
specified workstation type.
The graPHIGS API returns the total number of available line types and
their identifiers; the number of available line widths and the
nominal, minimum, and maximum line width size; and the number
of predefined polyline bundle table indexes
for the specified workstation type.
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_line_facs
(ws_type,
num_elems_appl_list, start_ind, err_ind, fac,
num_elems_impl_list) |
Pint ws_typeWorkstation type.
Pint num_elems_appl_listNumber of elements in the application list
(>=0).
Pint start_indStarting index (>=0).
Pint *err_indError indicator.
Pline_facs *facPolyline facilities.
Pint *num_elems_impl_listNumber of elements in the implementation list.
FORTRAN
PQPLF
(wtype, n, errind,
nlt, lt, nlw, nomlw,
rlwmin, rlwmax, nppli) |
integer wtypeWorkstation type.
integer nList element requested (>=0).
integer errindError indicator.
integer nltNumber of available line types.
integer ltnth element in the list of
available line types.
integer nlwNumber of available line widths.
real nomlwNominal line width in DC.
real rlwminMinimum value of a line width in DC.
real rlwmaxMaximum value of a line width in DC.
integer nppliNumber of predefined polyline indexes.
Errors
None
Related Subroutines
Inquire Workstation Connection And Type
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]