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

INQUIRE LIST OF PATTERN INDICES (PHOP,WSOP,*,*)

Purpose

Use Inquire List of Pattern Indices to inquire the list of defined pattern indexes existing on the workstation.

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:

3
Function Requires State (PHOP,WSOP,*,*)
54
Specified Workstation Is Not Open
59
Specified Workstation Does Not Have Output Capability

Language Bindings

C

pinq_list_pat_inds (ws_id, num_elems_appl_list, start_ind, err_ind, def_pat_ind, num_elems_impl_list)

Input Parameters

Pint ws_id
Workstation identifier.

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 *def_pat_ind
List of defined pattern indexes.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQEPAI (wkid, n, errind, ol, pai)

Input Parameters

integer wkid
Workstation identifier.

integer n
List element requested (>=0)

Input Parameters

integer errind
Error indicator.

integer ol
Number of pattern table entries.

integer pai
nth element in the list of pattern indexes.

Errors

None

Related Subroutines

  • Set Pattern Representation


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