VuoAnchor implementation.
Definition in file VuoAnchor.c.
Go to the source code of this file.
Functions | |
VuoAnchor | VuoAnchor_makeFromJson (json_object *js) |
Decodes the JSON object js to create a new value. More... | |
json_object * | VuoAnchor_getJson (const VuoAnchor value) |
Encodes value as a JSON object. More... | |
char * | VuoAnchor_getSummary (const VuoAnchor value) |
Returns a compact string representation of value . More... | |
VuoList_VuoAnchor | VuoAnchor_getAllowedValues (void) |
Returns a list of values that instances of this type can have. More... | |
VuoPoint2d | VuoAnchor_getOffset (VuoAnchor anchor) |
Returns an offset (-.5, 0, or .5) for each axis of the anchor. More... | |
bool | VuoAnchor_areEqual (const VuoAnchor value1, const VuoAnchor value2) |
Returns true if the two values are equal. More... | |
bool | VuoAnchor_isLessThan (const VuoAnchor value1, const VuoAnchor value2) |
Returns true if the value1 is less than value2. More... | |