[ 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)

Input Parameters

Pint ws_type
Workstation type.

Pint num_elems_appl_list
Number of elements in the application list (>=0).

Pint index
Starting index (>=0).

Output Parameters

Pint *err_ind
Error indicator.

Pedge_facs *fac
Edge facilities.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQEDF (wtype, n, errind, nedt, edt, nedw, nomedw, redwmn, npedi)

Input Parameters

integer wtype
Workstation type.

integer n
List element requested (>=0).

Output Parameters

integer errind
Error indicator.

integer nedt
Number of available edge types.

integer edt
nth element of the list of available edge types (PLSOLI, 2=PLDASH, 3=PLDOT, 4=PLDASD).

integer nedw
Number of available edge widths.

real nomedw
Nominal edge width.

real redwmn
Minimum edge width.

real redwmx
Maximum edge width.

integer npedi
Number of predefined edge indexes.

Errors

None

Related Subroutines

  • Inquire Edge Representation

  • Set edge Representation


  • [ Previous | Next | Contents | Glossary | Home | Search ]