Vuo  2.3.2
Functions
VuoColorspace.h File Reference

Description

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...
 

Function Documentation

◆ VuoColorspace_getCMYKA()

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 51 of file VuoColorspace.m.

◆ VuoColorspace_getICC_VuoData()

VuoList_VuoReal VuoColorspace_getICC_VuoData ( VuoData  colorspace,
VuoColor  color 
)

Converts the specified sRGB color into components in the ICC profile colorspace.

Definition at line 193 of file VuoColorspace.m.

◆ VuoColorspace_getICC_VuoInteger()

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 185 of file VuoColorspace.m.

◆ VuoColorspace_makeCMYKAColor()

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 28 of file VuoColorspace.m.

◆ VuoColorspace_makeICCColor_VuoData()

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 152 of file VuoColorspace.m.

◆ VuoColorspace_makeICCColor_VuoInteger()

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 143 of file VuoColorspace.m.