|
Laxkit
0.0.7.1
|
Color instance type for Palette. More...
Public Member Functions | |
| PaletteEntry (const char *nname, int n, int *v, int space, int max=255) | |
| Copies v, assumed to have n entries. | |
Public Attributes | |
| int * | channels |
| int | numcolors |
| int | color_space |
| int | maxcolor |
| char * | name |
Color instance type for Palette.
color_space: LAX_COLOR_RGB=rgb, 1=rgba, LAX_COLOR_CMYK=cmyk, 3=cmyka, LAX_COLOR_GRAY=gray, 5=grayA