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

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

Purpose

Use Inquire List of Polyline Indices to inquire the list of defined polyline 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_line_inds (ws_id, num_elems_appl_list, start_ind, err_ind, def_line_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_line_ind
List of defined polyline indexes.

Pint *num_elems_impl_list
Number of elements in the implementation list.

FORTRAN

PQEPLI (wkid, n, errind, ol, pli)

Input Parameters

integer wkid
Workstation identifier.

integer n
List element requested (>=0).

Output Parameters

integer errind
Error indicator.

integer ol
Number of polyline bundle table entries.

integer pli
nth element in the list of defined polyline indexes.

Errors

None

Related Subroutines

  • Set Polyline Representation


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