PQIF(3g) — Subroutines
Name
PQIF − Returns interior and hatch information.
Operating States: PHOP, ∗, ∗, ∗
PHIGS standard function
Syntax
PQIF (WTYPE, NI, NH, ERRIND, NIS, IS, NHS, HS, NPFAI)
Argument Data Type Access Description
---------------------------------------------------------------------------
WTYPE Integer Read Workstation type
NI Integer Read List element of interior styles
requested
NH Integer Read List element of hatch styles
requested
ERRIND Integer Write Error indicator
NIS Integer Write Number of available interior
styles
IS Integer Write NIth element of the list of
available interior styles
NHS Integer Write Number of available hatch styles
HS Integer Write NHth element of the list of
available hatch style index
NPFAI Integer Write Number of predefined interior
indexes
---------------------------------------------------------------------------
Constants
Defined Argument Constant Description
---------------------------------------------------------------------------
IS PHOLLO Hollow interior
PSOLID Solid interior
PPATTR Patterned interior
PHATCH Hatched interior
PISEMP Empty interior
---------------------------------------------------------------------------
Description
PQIF queries the workstation description table and returns values for the following:
•List of available interior styles
•Total number of available hatch styles
•List of available hatch styles
•Total number of available hatch styles
•Number of predefined interior indexes
The value of the number of available hatch styles has the following interpretations:
Value Result
Positive The list of available hatch styles contains all
registered hatch styles.
Negative Two conditions apply:
- Digital PHIGS derives the implementation-specific hatch styles
directly from the value and the hatch style aspect.
- The list of available hatch styles contains the registered
hatch styles supported, the number of which is the absolute
value of the number of available hatch styles.
The application must provide the space for the list of hatch styles. The application passes the address of the list, an array of integers, in the ints field of the hatch_styles field of the facilities argument, and passes the size of the list in the num_elem argument. Digital PHIGS returns the number of elements written in the list in the num_ints field of the hatch_styles field of the facilities argument.
See Also
PQIFP
PQPIR
PQPIP
PSIS
PSISI