Vuo 2.4.4
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
VuoAnchor.h File Reference

Description

VuoAnchor C type definition.

Definition in file VuoAnchor.h.

Go to the source code of this file.

Macros

#define VuoAnchor_SUPPORTS_COMPARISON
 Instances of this type can be compared and sorted.
 

Typedefs

typedef int64_t VuoAnchor
 Combination vertical + horizontal alignment.
 

Functions

VuoAnchor VuoAnchor_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_object * VuoAnchor_getJson (const VuoAnchor value)
 Encodes value as a JSON object.
 
char * VuoAnchor_getSummary (const VuoAnchor value)
 Returns a compact string representation of value.
 
VuoList_VuoAnchor VuoAnchor_getAllowedValues (void)
 Returns a list of values that instances of this type can have.
 
static VuoAnchor VuoAnchor_make (VuoHorizontalAlignment horizontal, VuoVerticalAlignment vertical) __attribute__((const))
 Returns a VuoAnchor with horizontal and vertical alignments.
 
static VuoHorizontalAlignment VuoAnchor_getHorizontal (VuoAnchor anchor) __attribute__((const))
 Returns the horizontal component of a VuoAnchor.
 
static VuoVerticalAlignment VuoAnchor_getVertical (VuoAnchor anchor) __attribute__((const))
 Returns the horizontal component of a VuoAnchor.
 
static VuoAnchor VuoAnchor_makeCentered (void) __attribute__((const))
 Returns a VuoAnchor with both horizontal and vertical alignments centered.
 
VuoPoint2d VuoAnchor_getOffset (VuoAnchor anchor)
 Returns an offset (-.5, 0, or .5) for each axis of the anchor.
 
bool VuoAnchor_areEqual (const VuoAnchor value1, const VuoAnchor value2)
 Returns true if the two values are equal.
 
bool VuoAnchor_isLessThan (const VuoAnchor value1, const VuoAnchor value2)
 Returns true if the value1 is less than value2.
 
char * VuoAnchor_getString (const VuoAnchor value)
 Automatically generated function.
 
void VuoAnchor_retain (VuoAnchor value)
 Automatically generated function.
 
void VuoAnchor_release (VuoAnchor value)
 Automatically generated function.