#include "dye.h"
Functions | |
int | dyeStrToSpace (char *_str) |
dyeColor * | dyeColorInit (dyeColor *col) |
dyeColor * | dyeColorSet (dyeColor *col, int space, float v0, float v1, float v2) |
int | dyeColorGet (float *v0P, float *v1P, float *v2P, dyeColor *col) |
int | dyeColorGetAs (float *v0P, float *v1P, float *v2P, dyeColor *colIn, int space) |
dyeColor * | dyeColorNew () |
dyeColor * | dyeColorCopy (dyeColor *c1, dyeColor *c0) |
dyeColor * | dyeColorNix (dyeColor *col) |
int | dyeColorParse (dyeColor *col, char *_str) |
char * | dyeColorSprintf (char *str, dyeColor *col) |
Variables | |
const char * | dyeBiffKey = "dye" |
char | dyeSpaceToStr [][AIR_STRLEN_SMALL] |
int dyeColorGet | ( | float * | v0P, | |
float * | v1P, | |||
float * | v2P, | |||
dyeColor * | col | |||
) |
int dyeColorGetAs | ( | float * | v0P, | |
float * | v1P, | |||
float * | v2P, | |||
dyeColor * | colIn, | |||
int | space | |||
) |
dyeColor* dyeColorNew | ( | ) |
int dyeColorParse | ( | dyeColor * | col, | |
char * | _str | |||
) |
char* dyeColorSprintf | ( | char * | str, | |
dyeColor * | col | |||
) |
int dyeStrToSpace | ( | char * | _str | ) |
const char* dyeBiffKey = "dye" |
char dyeSpaceToStr[][AIR_STRLEN_SMALL] |
Initial value:
{ "(unknown)", "HSV", "HSL", "RGB", "XYZ", "LAB", "LUV" }