Data Structures |
| struct | dyeColor |
Defines |
| #define | DYE_EXPORT extern |
| #define | DYE dyeBiffKey |
| #define | DYE_MAX_SPACE 6 |
| #define | DYE_VALID_SPACE(spc) (AIR_IN_OP(dyeSpaceUnknown, (spc), dyeSpaceLast)) |
Typedefs |
| typedef void(* | dyeConverter )(float *, float *, float *, float, float, float) |
Enumerations |
| enum | {
dyeSpaceUnknown,
dyeSpaceHSV,
dyeSpaceHSL,
dyeSpaceRGB,
dyeSpaceXYZ,
dyeSpaceLAB,
dyeSpaceLUV,
dyeSpaceLast
} |
Functions |
| DYE_EXPORT int | dyeStrToSpace (char *str) |
| DYE_EXPORT dyeColor * | dyeColorInit (dyeColor *col) |
| DYE_EXPORT dyeColor * | dyeColorSet (dyeColor *col, int space, float v0, float v1, float v2) |
| DYE_EXPORT int | dyeColorGet (float *v0P, float *v1P, float *v2P, dyeColor *col) |
| DYE_EXPORT int | dyeColorGetAs (float *v0P, float *v1P, float *v2P, dyeColor *col, int space) |
| DYE_EXPORT dyeColor * | dyeColorNew () |
| DYE_EXPORT dyeColor * | dyeColorCopy (dyeColor *c1, dyeColor *c0) |
| DYE_EXPORT dyeColor * | dyeColorNix (dyeColor *col) |
| DYE_EXPORT int | dyeColorParse (dyeColor *col, char *str) |
| DYE_EXPORT char * | dyeColorSprintf (char *str, dyeColor *col) |
| DYE_EXPORT void | dyeRGBtoHSV (float *H, float *S, float *V, float R, float G, float B) |
| DYE_EXPORT void | dyeHSVtoRGB (float *R, float *G, float *B, float H, float S, float V) |
| DYE_EXPORT void | dyeRGBtoHSL (float *H, float *S, float *L, float R, float G, float B) |
| DYE_EXPORT void | dyeHSLtoRGB (float *R, float *G, float *B, float H, float S, float L) |
| DYE_EXPORT void | dyeRGBtoXYZ (float *X, float *Y, float *Z, float R, float G, float B) |
| DYE_EXPORT void | dyeXYZtoRGB (float *R, float *G, float *B, float X, float Y, float Z) |
| DYE_EXPORT void | dyeXYZtoLAB (float *L, float *A, float *B, float X, float Y, float Z) |
| DYE_EXPORT void | dyeXYZtoLUV (float *L, float *U, float *V, float X, float Y, float Z) |
| DYE_EXPORT void | dyeLABtoXYZ (float *X, float *Y, float *Z, float L, float A, float B) |
| DYE_EXPORT void | dyeLUVtoXYZ (float *X, float *Y, float *Z, float L, float U, float V) |
| DYE_EXPORT int | dyeConvert (dyeColor *col, int space) |
Variables |
| DYE_EXPORT const char * | dyeBiffKey |
| DYE_EXPORT char | dyeSpaceToStr [][AIR_STRLEN_SMALL] |
| DYE_EXPORT dyeConverter | dyeSimpleConvert [DYE_MAX_SPACE+1][DYE_MAX_SPACE+1] |