Previous Next Up Title Contents Index Functions Index Top Library

SET INTERIOR COLOUR

PSET_INT_COLR


CALL SEQUENCE

void pset_int_colr(
)

TYPES

typedef struct {
	Pint	colr_type;	/* colour type	*/
	Pcolrv	colr_value;	/* colour value	*/
} Pgcolr;

typedef union {
	Pint	colr_ind;	/* colour index	*/
	Pcolr_rep	colr_rep;	/* colour representation	*/
} Pcolrv;

typedef union {
	Prgb	rgb;	/* red green blue colour specification	*/
	Pcieluv	cieluv;	/* CIE L*u*v* colour specification	*/
	Phls	hls;	/* hue lightness saturation colour specification	*/
	Phsv	hsv;	/* hue saturation value colour specification	*/
} Pcolr_rep;

PHIGS STATE

(PHOP,*,STOP,*)

EFFECT

A SET INTERIOR COLOUR element is inserted in the open structure after element pointer or replaces the element indicated by element pointer, depending on edit mode. Element pointer then points to the SET INTERIOR COLOUR element. The values specified by the function parameter are associated with the element.

When an element of this type is interpreted, the current interior colour entry in the traversal state list is set to the value associated with the element. This value is used when displaying subsequent area defining output primitives when the current interior colour ASF in the traversal state list is INDIVIDUAL.

EXTENSION TO THE PHIGS STANDARD

If GPHIGS is in NRS mode, the effect of this function is different from the effect described in the standard.

In NRS mode, (see OPEN PIPE), the element is not stored in a structure. It is sent to the workstation on which the pipe is opened.

ERRORS

5
Ignoring function, function requires state (PHOP,*, STOP,*)

SEE ALSO

fill area 3, fill area set 3, fill area set 3 with data, set of fill area sets 3 with data, triangle set 3 with data, triangle strip 3 with data, quadrilateral mesh 3 with data, non-uniform b-spline surface 3, non-uniform b-spline surface 3 with data, set interior colour index, open structure, open pipe (ext), inquire current element content, inquire current element type and size


Previous Next Up Title Contents Index Functions Index Top Library