INQUIRE WORKSTATION STATE TABLE LENGTHS(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE WORKSTATION STATE TABLE LENGTHS − inquire the lengths of the workstation state tables for a specified workstation type
SYNOPSIS
C Syntax
void
pinqwssttable ( type, error_ind, lengths )
Pwstypetype;workstation type
Pint∗error_ind;OUT error indicator
Pwstables∗lengths;OUT lengths of workstation tables
FORTRAN Syntax
SUBROUTINE pqwksl ( WTYPE, ERRIND, MPLBTE, MPMBTE, MTXBTE, MINBTE, MEDBTE, MPAI,
MCOLI, VWTBI )
INTEGERWTYPEworkstation type
INTEGERERRINDOUT error indicator
INTEGERMPLBTEOUT maximum number of polyline bundle table entries
INTEGERMPMBTEOUT maximum number of polymarker bundle table entries
INTEGERMTXBTEOUT maximum number of text bundle table entries
INTEGERMINBTEOUT maximum number of interior bundle table entries
INTEGERMEDBTEOUT maximum number of edge bundle table entries
INTEGERMPAIOUT maximum number of pattern indices
INTEGERMCOLIOUT maximum number of colour indices
INTEGERVWTBIOUT maximum number of view table indices
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE WORKSTATION STATE TABLE LENGTHS to determine the lengths of the state tables of a specified workstation type.
C Input Parameters
type
Type of workstation.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
lengths
A pointer to a Pwstables data structure which returns the length of the workstation state tables. Pwstables is defined in phigs.h as:
typedef struct {
Pintline;/∗ polyline tables ∗/
Pintmark;/∗ polymarker tables ∗/
Pinttext;/∗ text tables ∗/
Pintinterior;/∗ interior tables ∗/
Pintedge;/∗ edge tables ∗/
Pintpat;/∗ pattern tables ∗/
Pintcolour;/∗ colour tables ∗/
Pintview; /∗ view tables ∗/
} Pwstables;
FORTRAN Input Parameters
WTYPE
Get the workstation state table lengths for this workstation type.
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
MPLBTE
The maximum number of polyline bundle table entries.
MPMBTE
The maximum number of polymarker bundle table entries.
MTXBTE
The maximum number of text bundle table entries.
MINBTE
The maximum number of interior bundle table entries.
MEDBTE
The maximum number of edge bundle table entries.
MPAIThe maximum number of pattern indices.
MCOLI
The maximum number of colour indices.
VWTBI
The maximum number of view table indices.
ERRORS
002Ignoring function, function requires state (PHOP, ∗, ∗, ∗)
051Ignoring function, this information is not yet available for this workstation type; open a workstation of this type and use the specific workstation type
052Ignoring function, workstation type not recognized by the implementation
059Ignoring function, the specified workstation does not have output capability (i.e., the workstation category is neither OUTPUT, OUTIN, nor MO)
062Ignoring function, this information is not available for this MO workstation type
SEE ALSO
PHIGS WORKSTATION DESCRIPTION TABLE (7P)
INQUIRE EXTENDED WORKSTATION STATE TABLE LENGTHS (3P+)
Sun Release 4.0 — Last change: 29 July 1989