VuoColorspace interface.
Definition in file VuoColorspace.h.
Go to the source code of this file.
Functions | |
VuoColor | VuoColorspace_makeCMYKAColor (VuoReal c, VuoReal m, VuoReal y, VuoReal k, VuoReal a, int colorspace) |
Creates a new VuoColor from CMYK values. More... | |
void | VuoColorspace_getCMYKA (VuoColor color, int colorspace, VuoReal *c, VuoReal *m, VuoReal *y, VuoReal *k, VuoReal *a) |
Get the Cyan, Magenta, Yellow, Black, and Alpha values from a VuoColor. More... | |
VuoColor | VuoColorspace_makeICCColor_VuoInteger (VuoInteger colorspace, VuoList_VuoReal components) |
Converts the specified color components (color channels + alpha) into an sRGB VuoColor . More... | |
VuoColor | VuoColorspace_makeICCColor_VuoData (VuoData colorspace, VuoList_VuoReal components) |
Converts the specified color components (color channels + alpha) into an sRGB VuoColor using the ICC profile colorspace . More... | |
VuoList_VuoReal | VuoColorspace_getICC_VuoInteger (VuoInteger colorspace, VuoColor color) |
Converts the specified sRGB color into components in the specified colorspace. More... | |
VuoList_VuoReal | VuoColorspace_getICC_VuoData (VuoData colorspace, VuoColor color) |
Converts the specified sRGB color into components in the ICC profile colorspace . More... | |
void VuoColorspace_getCMYKA | ( | VuoColor | color, |
int | colorspace, | ||
VuoReal * | c, | ||
VuoReal * | m, | ||
VuoReal * | y, | ||
VuoReal * | k, | ||
VuoReal * | a | ||
) |
Get the Cyan, Magenta, Yellow, Black, and Alpha values from a VuoColor.
colorspace
: 0 = linear, 1 = generic
Definition at line 57 of file VuoColorspace.m.
VuoList_VuoReal VuoColorspace_getICC_VuoData | ( | VuoData | colorspace, |
VuoColor | color | ||
) |
Converts the specified sRGB color
into components in the ICC profile colorspace
.
Definition at line 199 of file VuoColorspace.m.
VuoList_VuoReal VuoColorspace_getICC_VuoInteger | ( | VuoInteger | colorspace, |
VuoColor | color | ||
) |
Converts the specified sRGB color
into components in the specified colorspace.
colorspace
: 0 = sRGB, 1 = Adobe RGB (1998), 2 = Generic RGB, 3 = Generic CMYK, 4 = Generic L*a*b*, 5 = Generic XYZ
Definition at line 191 of file VuoColorspace.m.
VuoColor VuoColorspace_makeCMYKAColor | ( | VuoReal | c, |
VuoReal | m, | ||
VuoReal | y, | ||
VuoReal | k, | ||
VuoReal | a, | ||
int | colorspace | ||
) |
Creates a new VuoColor from CMYK values.
colorspace
: 0 = linear, 1 = generic
Definition at line 34 of file VuoColorspace.m.
VuoColor VuoColorspace_makeICCColor_VuoData | ( | VuoData | colorspace, |
VuoList_VuoReal | components | ||
) |
Converts the specified color components
(color channels + alpha) into an sRGB VuoColor
using the ICC profile colorspace
.
Definition at line 158 of file VuoColorspace.m.
VuoColor VuoColorspace_makeICCColor_VuoInteger | ( | VuoInteger | colorspace, |
VuoList_VuoReal | components | ||
) |
Converts the specified color components
(color channels + alpha) into an sRGB VuoColor
.
colorspace
: 0 = sRGB, 1 = Adobe RGB (1998), 2 = Generic RGB, 3 = Generic CMYK, 4 = Generic L*a*b*, 5 = Generic XYZ
Definition at line 149 of file VuoColorspace.m.