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

INQUIRE WORKSTATION STATE TABLE LENGTHS (PHOP,*,*,*)

Purpose

Use Inquire Workstation State Table Lengths to inquire the maximum number of entries supported for workstation tables 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_ws_st_table (ws_type, err_ind, lengths)

Input Parameters

Pint ws_type
Workstation type.

Output Parameters

Pint *err_ind
Error indicator.

Pws_st_tables *lengths
Lengths of workstation tables.

FORTRAN

PQWKSL (wtype, errind, mplbte, mpmbte, mtxbte, minbte, medbte, mpai, mcoli, vwtbi)

Input Parameters

integer wtype
Workstation type.

Output Parameters

integer errind
Error indicator.

integer mplbte
Maximum number of polyline bundle table entries.

integer mpmbte
Maximum number of polymarker bundle table entries.

integer mtxbte
Maximum number of text bundle table entries.

integer minbte
Maximum number of interior bundle table entries.

integer medbte
Maximum number of edge bundle table entries.

integer mpai
Maximum number of pattern indexes.

integer mcoli
Maximum number of color indexes.

integer vwtbi
Maximum number of view table indexes.

Errors

None

Related Subroutines

  • Inquire Workstation Connection And Type

  • Set Color Representation

  • Set edge Representation

  • Set Interior Representation

  • Set Polyline Representation

  • Set Polymarker Representation

  • Set Text Representation

  • Set View Representation


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