Vuo
2.0.1
|
How to sample a color.
Enumerations | |
enum | VuoColorSample { VuoColorSample_Average, VuoColorSample_DarkestComponents, VuoColorSample_DarkestColor, VuoColorSample_LightestComponents, VuoColorSample_LightestColor } |
How to sample a color. More... | |
Functions | |
VuoColorSample | VuoColorSample_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. More... | |
struct json_object * | VuoColorSample_getJson (const VuoColorSample value) |
Encodes value as a JSON object. More... | |
VuoList_VuoColorSample | VuoColorSample_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
char * | VuoColorSample_getSummary (const VuoColorSample value) |
Returns a compact string representation of value . More... | |
bool | VuoColorSample_areEqual (const VuoColorSample valueA, const VuoColorSample valueB) |
Returns true if the two values are equal. More... | |
bool | VuoColorSample_isLessThan (const VuoColorSample valueA, const VuoColorSample valueB) |
Returns true if valueA is less than valueB . More... | |
VuoColorSample | VuoColorSample_makeFromString (const char *str) |
Automatically generated function. More... | |
char * | VuoColorSample_getString (const VuoColorSample value) |
Automatically generated function. More... | |
void | VuoColorSample_retain (VuoColorSample value) |
Automatically generated function. More... | |
void | VuoColorSample_release (VuoColorSample value) |
Automatically generated function. More... | |
enum VuoColorSample |
How to sample a color.
Definition at line 28 of file VuoColorSample.h.
bool VuoColorSample_areEqual | ( | const VuoColorSample | valueA, |
const VuoColorSample | valueB | ||
) |
Returns true if the two values are equal.
Definition at line 110 of file VuoColorSample.c.
VuoList_VuoColorSample VuoColorSample_getAllowedValues | ( | void | ) |
Returns a list of values that instances of this type can have.
Definition at line 77 of file VuoColorSample.c.
struct json_object* VuoColorSample_getJson | ( | const VuoColorSample | value | ) |
Encodes value
as a JSON object.
Definition at line 58 of file VuoColorSample.c.
char* VuoColorSample_getString | ( | const VuoColorSample | value | ) |
Automatically generated function.
char* VuoColorSample_getSummary | ( | const VuoColorSample | value | ) |
Returns a compact string representation of value
.
Definition at line 91 of file VuoColorSample.c.
bool VuoColorSample_isLessThan | ( | const VuoColorSample | valueA, |
const VuoColorSample | valueB | ||
) |
Returns true if valueA
is less than valueB
.
Definition at line 118 of file VuoColorSample.c.
VuoColorSample VuoColorSample_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 35 of file VuoColorSample.c.
VuoColorSample VuoColorSample_makeFromString | ( | const char * | str | ) |
Automatically generated function.
void VuoColorSample_release | ( | VuoColorSample | value | ) |
Automatically generated function.
void VuoColorSample_retain | ( | VuoColorSample | value | ) |
Automatically generated function.