Vuo  1.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions
VuoFont.h File Reference

Description

VuoFont C type definition.

Classes

struct  VuoFont
 A font description: family, style, point size, underline. More...
 

Functions

VuoFont VuoFont_make (VuoText fontName, VuoReal pointSize, VuoBoolean underline, VuoColor color, VuoHorizontalAlignment alignment, VuoReal characterSpacing, VuoReal lineSpacing)
 Returns a new VuoFont with the specified attributes.
 
VuoFont VuoFont_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_objectVuoFont_getJson (const VuoFont value)
 Encodes value as a JSON object.
 
char * VuoFont_getSummary (const VuoFont value)
 Returns a compact string representation of value (comma-separated components).
 
bool VuoFont_areEqual (const VuoFont a, const VuoFont b)
 Returns true if both fonts have the same name, size, underline status, color, alignment, and character/line spacing.
 
bool VuoFont_isLessThan (const VuoFont a, const VuoFont b)
 Returns true if a < b.
 
VuoFont VuoFont_makeFromString (const char *str)
 Automatically generated function.
 
char * VuoFont_getString (const VuoFont value)
 Automatically generated function.
 
void VuoFont_retain (VuoFont value)
 Automatically generated function.
 
void VuoFont_release (VuoFont value)
 Automatically generated function.