47 |
|
|
48 |
|
extern C_COLOR c_dfcolor; /* default color */ |
49 |
|
|
50 |
< |
extern void c_ccvt(C_COLOR *, int); /* fix color representation */ |
51 |
< |
extern int c_isgrey(C_COLOR *); /* check if color is grey */ |
50 |
> |
/* assign arbitrary spectrum */ |
51 |
> |
extern double c_sset(C_COLOR *clr, double wlmin, double wlmax, |
52 |
> |
const float spec[], int nwl); |
53 |
> |
extern void c_ccvt(C_COLOR *clr, int fl); /* fix color representation */ |
54 |
> |
extern int c_isgrey(C_COLOR *clr); /* check if color is grey */ |
55 |
|
/* mix two colors */ |
56 |
|
extern void c_cmix(C_COLOR *cres, double w1, C_COLOR *c1, |
57 |
|
double w2, C_COLOR *c2); |