Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE INTERIOR FACILITIES

PINQ_INT_FACS


CALL SEQUENCE

void pinq_int_facs(
)

TYPES

typedef struct {
	Pint	num_int_styles;	/* number of interior styles 	*/
	Pint_style	int_styles[5];	/* list of available interior styles 	*/
	Pint_list 	hatch_styles;	/* list of available hatch styles 	*/
	Pint	num_pred_inds;	/* number of predefined bundle indices	*/
} Pint_facs ;

typedef enum {
	PSTYLE_HOLLOW,
	PSTYLE_SOLID,
	PSTYLE_PAT,
	PSTYLE_HATCH,
	PSTYLE_EMPTY
} Pint_style;

typedef struct {
	Pint	num_ints;	/* number of Pints in list 	*/
	Pint	*ints;	/* list of integers	*/
} Pint_list;

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, inquire interior representation, inquire predefined interior representation.


Previous Next Up Title Contents Index Functions Index Top Library