INQUIRE INTERIOR FACILITIES
-
CALL SEQUENCE
CALL PQIF (WTYPE, NI, NH, ERRIND, NIS, IS, NHS, HS, NPFAI).
INPUT PARAMETERS
- INTEGER WTYPE
- Workstation type.
- INTEGER NI
- Element requested in interior style list.
- INTEGER NH
- Order number in hatching style list.
OUTPUT PARAMETERS
- INTEGER ERRIND
- Error indicator
- INTEGER NIS
- Number of available fill styles.
- INTEGER IS
- NIth fill style
- PHOLLO :
- 0 (HOLLOW)
- PSOLID :
- 1 (SOLID)
- PPATTR :
- 2 (PATTERN)
- PHATCH :
- 3 (HATCH)
- PISEMP :
- 4 (EMPTY)
- INTEGER NHS
- Number of available hatching styles.
- INTEGER HS
- NHth hatching style.
- INTEGER NPFAI
- Number of predefined interior representations.
PHIGS STATE
(PHOP, *, *, *).
EFFECT
Returns the interior drawing facilities offered by workstations of type
WTYPE. If the inquired information is available, the error indicator is
returned as 0 and values are returned in the output parameters.
If the number of available hatch styles is positive, the list of available
hatch styles contains all registered and implementation dependent hatch styles
supported. If the number of available hatch styles is negative, the
implementation dependent hatch styles are derived directly from the hatch style
value and the list of available hatch styles contains the number of registered
hatch styles; the number of which is indicated by the absolute value of the
number of available hatch styles.
If the inquired information is not available, the values returned in the output
parameters are implementation dependent and the error indicator is set to one
of the following error numbers to indicate the reason for non-availability:
ERRORS
- 2
Ignoring function, function requires state (PHOP, *,*,*)
- 52
- Ignoring function, workstation type not recognized by the implementation
- 51
- Ignoring function, this information is not yet available for this generic
workstation type: open a workstation of this type and use the specific
workstation type
- 59
- Ignoring function, the specified workstation does not have output
capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
- 62
- Ignoring function, this information is not available for this MO
workstation type
SEE ALSO
set interior representation, inquire interior representation, inquire
predefined interior representation.