typedef union {
Prgb rgb; /*Red Green Blue colour specification*/
Pcieluv cieluv; /*CIE L*u*v* colour specification*/
Phls hls; /*Hue Lightness Saturation spec */
Phsv hsv; /*Hue Saturation Value colour spec*/
Pdata unsupp; /*Colour in an unsupported col. mod.*/
} Pcolr_rep;
typedef struct {
Pfloat red;
Pfloat green;
Pfloat blue;
} Prgb;
typedef struct {
Pfloat u_prime; /* u' u prime chromaticity */
Pfloat v_prime; /* v' v prime chromaticity */
Pfloat y; /* Y luminance */
} Pcieluv;
typedef struct {
Pfloat hue;
Pfloat lightness;
Pfloat satur;
} Phls;
typedef struct {
Pfloat hue;
Pfloat satur;
Pfloat value;
} Phsv;
typedef struct {
size_t size;
void *data;
} Pdata;
Parametri -