INQUIRE DYNAMICS OF WORKSTATION ATTRIBUTES(3P) — SUNPHIGS LIBRARY
NAME
INQUIRE DYNAMICS OF WORKSTATION ATTRIBUTES − inquire the dynamics of workstation attributes for a workstation type
SYNOPSIS
C Syntax
void
pinqdynwsattr ( type, error_ind, attr )
Pwstypetype;workstation type
Pint∗error_ind;OUT error indicator
Pmodws∗attr;OUT attributes dynamics
FORTRAN Syntax
SUBROUTINE pqdswa ( WTYPE, ERRIND, PLBUN, PMBUN, TXBUN, INBUN, EDBUN, PAREP,
COLREP, VWREP, WKTR, HIFLTR, INFLTR, HLHSR )
INTEGERWTYPEworkstation type
INTEGERERRINDerror indicator
INTEGERPLBUNOUT polyline representation changeable
INTEGERPMBUNOUT polymarker representation changeable
INTEGERTXBUNOUT text representation changeable
INTEGERINBUNOUT interior representation changeable
INTEGEREDBUNOUT edge representation changeable
INTEGERPAREPOUT pattern representation changeable
INTEGERCOLREPOUT colour representation changeable
INTEGERVWREPOUT view representation changeable
INTEGERWKTROUT workstation transformation changeable
INTEGERHIFLTROUT highlighting filter changeable
INTEGERINFLTROUT invisibility filter changeable
INTEGERHLHSROUT HLHSR mode changeable
Required PHIGS Operating States
(PHOP, ∗, ∗, ∗)
DESCRIPTION
Purpose
Use INQUIRE DYNAMICS OF WORKSTATION ATTRIBUTES to determine dynamics of workstation attributes for a specified workstation type.
The possible dynamic modification accepted values are the same in C or FORTRAN: PIRGModification leads to an Implicit Regeneration. PIMMModification is performed Immediately, without an implicit regeneration. PCBSModification Can Be Simulated before an implicit regeneration is permitted.
C Input Parameters
type
The workstation type whose capabilities are inquired.
C Output Parameters
error_ind
A pointer to the location to store the error number of any error detected by this function.
attr
A pointer to a structure in which the system returns the dynamic modification accepted values for various workstation attributes. Pmodws is defined in phigs.h as follows:
typedef struct {
Pmodtypeline;/∗ polyline representation ∗/
Pmodtypemarker;/∗ marker representation ∗/
Pmodtypetext;/∗ text representation ∗/
Pmodtypeinterior;/∗ interior representation ∗/
Pmodtypeedge;/∗ edge representation ∗/
Pmodtypepattern;/∗ pattern representation ∗/
Pmodtypecolour;/∗ colour representation ∗/
Pmodtypeview;/∗ view representation ∗/
Pmodtypewstran;/∗ workstation transformation ∗/
Pmodtypehighlight;/∗ highlight filter ∗/
Pmodtypeinvis;/∗ invisibility filter ∗/
Pmodtypehlhsr;/∗ HLHSR mode ∗/
} Pmodws;
The Pmodtype enumeration holds the dynamic modification accepted value, one of the values PIRG, PIMM, or PCBS.
FORTRAN Input Parameters
WTYPE
The workstation type of the workstation whose capabilities are inquired.
FORTRAN Output Parameters
ERRIND
The error number of any error detected by this function.
PLBUN
PLBUN is the dynamic modification accepted value for polyline bundle changes.
PMBUN
PMBUN is the dynamic modification accepted value for polymarker bundle changes.
TXBUN
TXBUN is the dynamic modification accepted value for text bundle changes.
INBUN
INBUN is the dynamic modification accepted value for interior bundle changes.
EDBUN
EDBUN is the dynamic modification accepted value for edge bundle changes.
PABUN
PABUN is the dynamic modification accepted value for pattern bundle changes.
COLBUN
COLBUN is the dynamic modification accepted value for colour bundle changes.
VWREP
VWREP is the dynamic modification accepted value for view representation changes.
WKTR
WKTR is the dynamic modification accepted value for workstation transformation changes.
HIFLTR
HIFLTR is the dynamic modification accepted value for highlighting filter changes.
INFLTR
INFLTR is the dynamic modification accepted value for invisibility filter changes.
HLHSR
HLHSR is the dynamic modification accepted value for HLHSR mode changes.
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(7)
Sun Release 4.0 — Last change: 13 July 1989