Previous Next Up Title Contents Index Functions Index Top Library

INQUIRE COLOUR FACILITIES

PINQ_COLR_FACS


CALL SEQUENCE

void pinq_colr_facs(
)

TYPES


typedef struct {
	Pint	num_colrs;	/* number of colours	*/
	Pcolr_avail	colr_avail;	/* availability of colours	*/
	Pint	num_pred_inds;	/* number of predefined colour indices	*/
	Pcieluv	prim_colrs[3];	/* primary colours	*/
} Pcolr_facs;

typedef enum {
	PAVAIL_MONOCHR,
	PAVAIL_COLR
} Pcolr_avail;

typedef struct {
	Pfloat	cieluv_x;	/* x coefficient	*/
	Pfloat	cieluv_y;	/* y coefficient	*/
	Pfloat	cieluv_y_lum;	/* y luminance	*/
} Pcieluv;

PHIGS STATE

(PHOP, *, *, *).

EFFECT

Returns the colour capabilities offered by workstations of type ws_type. If the inquired information is available, error indicator is returned as 0

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


Previous Next Up Title Contents Index Functions Index Top Library