Vuo  2.3.2
Functions
VuoFont.c File Reference

Description

VuoFont implementation.

Definition in file VuoFont.c.

Go to the source code of this file.

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. More...
 
VuoFont VuoFont_makeDefault ()
 Returns a new VuoFont using default values. More...
 
VuoFont VuoFont_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value. More...
 
json_objectVuoFont_getJson (const VuoFont value)
 Encodes value as a JSON object. More...
 
char * VuoFont_getSummary (const VuoFont value)
 Returns a compact string representation of value (comma-separated components). More...
 
bool VuoFont_areEqual (const VuoFont value1, const VuoFont value2)
 Returns true if both fonts have the same name, size, underline status, color, alignment, and character/line spacing. More...
 
bool VuoFont_isLessThan (const VuoFont a, const VuoFont b)
 Returns true if a < b. More...