VuoColor C type definition.
- Copyright
- Copyright © 2012–2014 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
VuoColor | VuoColor_valueFromJson (json_object *js) |
| Decodes the JSON object js to create a new value.
|
|
json_object * | VuoColor_jsonFromValue (const VuoColor value) |
| Encodes value as a JSON object.
|
|
char * | VuoColor_summaryFromValue (const VuoColor value) |
| Returns a compact string representation of value (comma-separated components).
|
|
VuoColor | VuoColor_makeWithHSLA (VuoReal h, VuoReal s, VuoReal l, VuoReal a) |
| Returns a VuoColor with the given hue, saturation, lightness, alpha.
|
|
void | VuoColor_getHSLA (VuoColor color, VuoReal *h, VuoReal *s, VuoReal *l, VuoReal *a) |
| Gets the hue, saturation, lightness, hue, alpha of a color.
|
|
VuoColor | VuoColor_average (VuoList_VuoColor colors) |
| Returns the weighted (by alpha) average of colors .
|
|
|
VuoColor | VuoColor_valueFromString (const char *str) |
| Automatically generated function.
|
|
char * | VuoColor_stringFromValue (const VuoColor value) |
| Automatically generated function.
|
|
#define | VuoList_VuoColor_TYPE_DEFINED |
|
typedef void * | VuoList_VuoColor |
|