[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

INQUIRE POLYMARKER FACILITIES (PHOP,*,*,*)

Purpose

Use Inquire Polymarker Facilities to inquire the polymarker facilities for the specified workstation type.

The graPHIGS API returns data indicating the total number of available marker types and their identifiers; the nominal, minimum, and maximum marker sizes; and the number of predefined polymarker bundle table indexes for the specified workstation type. If the graPHIGS API returns a value of zero for the number of available marker sizes, then the workstation supports a continuous range of marker sizes.

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_marker_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 start_ind
Starting index (>=0).

Output Parameters

Pint *err_ind
Error indicator.

Pmarker_facs *fac
Polymarker facilities.

Pint num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQPMF (wtype, n, errind, nmt, mt, nms, nomms, rmsmin, rmsmax, nppmi)

Input Parameters

integer wtype
Workstation type.

integer n
List element requested (>=0).

Output Parameters

integer errind
Error indicator.

integer nmt
Number of available marker types.

integer mt
nth element in the list of available marker types.

integer nms
Number of available marker widths.

real nomms
Nominal marker width in DC.

real rmsmin
Minimum value of a marker width in DC.

real rmsmax
Maximum value of a marker width in DC.

integer nppmi
Number of predefined polymarker indexes.

Errors

None

Related Subroutines

  • Inquire Workstation Connection And Type


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