Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE INTERIOR FACILITIES PLUS

PINQ_INT_FACS_PLUS


CALL SEQUENCE

void pinq_int_facs_plus(
)

TYPES

typedef void * Pstore;

typedef struct {
	Pint	num_int_styles;	/* number interior styles	*/
	Pint_list	int_styles[5];	/* list of available interior styles	*/
	Pint	num_hatch_styles;	/* number hatch styles	*/
	Pint_list	hatch_styles;	/* list of available hatch styles	*/
	Pint	num_shad_methods;	/* number shading method	*/
	Pint_list	shad_methods;	/* list of available shading method	*/
	Pint	num_pred_int_inds;	/* number of predefined interior indices	*/
} Pint_facs_plus;

PHIGS STATE

(PHOP,*,*,*)

EFFECT

Returns the interior drawing facilities offered by workstations of type ws_type. 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 plus, inquire interior representation plus, inquire predefined interior representation plus.


Previous Next Up Title Contents Index Functions Index Top Library