[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference
INQUIRE EDGE FACILITIES (PHOP,*,*,*)
Purpose
Use
Inquire Edge Facilities
to inquire the edge facilities for the
specified workstation type.
The graPHIGS API returns a number indicating the total quantity
of available edge types and their identifiers; the available
number of edge widths and the nominal, minimum, and
maximum values; and the number of predefined edge indexes.
The graPHIGS API returns the width of lines in Device Coordinate
(DC) units. Possible edge types include:
SOLID,
DASHED, DOTTED, or DASHED-DOTTED.
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_edge_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 indexStarting index (>=0).
Pint *err_indError indicator.
Pedge_facs *facEdge facilities.
Pint *num_elems_impl_listNumber of elements in the implementation list.
FORTRAN
PQEDF
(wtype, n, errind,
nedt, edt, nedw,
nomedw, redwmn, npedi) |
integer wtypeWorkstation type.
integer nList element requested
(>=0).
integer errindError indicator.
integer nedtNumber of available edge types.
integer edtnth element of the list of
available edge types
(PLSOLI, 2=PLDASH, 3=PLDOT,
4=PLDASD).
integer nedwNumber of available edge widths.
real nomedwNominal edge width.
real redwmnMinimum edge width.
real redwmxMaximum edge width.
integer npediNumber of predefined edge indexes.
Errors
None
Related Subroutines
Inquire Edge Representation
Set edge Representation
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]