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

INQUIRE LIST OF AVAILABLE GENERALIZED DRAWING PRIMITIVES 3 (PHOP,*,*,*)

Purpose

Use Inquire List of Available Generalized Drawing Primitives 3 to inquire the available Generalized Drawing Primitives 3 (GDP 3s) 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_list_avail_gdp3 (ws_type, num_elems_appl_list, start_ind, err_ind, gdps, 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.

Pint_list gdps
List of available 3D GDPs.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQEGD3 (wtype, n, errind, ngdp, gdpl)

Input Parameters

integer wtype
Workstation type.

integer n
List element requested (>=0).

Output Parameters

integer errind
Error indicator.

integer ngdp
Number of available 3D GDPs.

integer gdpl
nth element in the list of 3D GDP identifiers.

Errors

None

Related Subroutines

  • Inquire Workstation Connection And Type


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