void pinq_int_facs(
Pint ws_type, /* workstation type */ Pint h_len, /* length of hatch style list */ Pint h_st, /* starting position */ Pint *error_ind, /* (out) error indicator */ Pint_facs *facil, /* (out) interior facilities */ Pint *tot_h_len /* (out) length of hatch list in GPHIGS */
)
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;
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: