void pinq_int_rep(
Pint ws_id, /* workstation identifier */ Pint index, /* interior index */ Pinq_type return_type, /* type of returned value */ Pint *error_ind, /* (out) error indicator */ Pint_bundle *int_rep /* (out) interior representation */
)
typedef enum {
PINQ_SET,
PINQ_REALIZED
} Pinq_type ;
typedef struct {
Pint_style style; /* interior style */
Pint style_ind; /* interior style index */
Pint colr_ind; /* interior colour index */
} Pint_bundle;
typedef enum {
PSTYLE_HOLLOW,
PSTYLE_SOLID,
PSTYLE_PAT,
PSTYLE_HATCH,
PSTYLE_EMPTY
} Pint_style;
If the specified interior index is not present in the interior bundle table, and the specified type of returned value is REALIZED, the representation for interior index 1 is returned.
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: