Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE COLOUR MAPPING STATE

PINQ_COLR_MAP_ST


CALL SEQUENCE

void pinq_colr_map_st(
)

TYPES


typedef void * Pstore;

typedef struct {
	Pint		method;		/* colour mapping method	*/
	union Pcolr_map_st_data {
		Pint	num_true_colrs;	/* number of available true colours	*/
		Pint	max_num_pseudo_colrs;	/* maximum number of pseudo colour entries	*/
	} data;
} Pcolr_map_st;

PHIGS STATE

(PHOP, WSOP,*,*)

EFFECT

If the inquired information is available, the error indicator is returned as 0 and values are returned in the output parameters.

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.

The memory referenced by *data is managed by store

ERRORS

3
Ignoring function, function requires state (PHOP, WSOP,*,*)
54
Ignoring function, the specified workstation is not open
59
Ignoring function, the specified workstation does not have output capability (i.e. the workstation category is neither OUTPUT, OUTIN, nor MO)
126
Ignoring function, the specified colour mapping method is not available on the specified

SEE ALSO

set colour mapping representation, inquire colour mapping representation, inquire colour mapping facilities, inquire colour mapping method facilities.


Previous Next Up Title Contents Index Functions Index Top Library