|
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.
|
|
static const char * | getStringForAlignment (VuoHorizontalAlignment a) |
| Returns a string key for the specified horizontal alignment.
|
|
static VuoHorizontalAlignment | getAlignmentForString (const char *s) |
| Returns the horizontal alignment for the specified string key.
|
|
VuoFont | VuoFont_makeFromJson (json_object *js) |
| Decodes the JSON object js to create a new value.
|
|
json_object * | VuoFont_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 value1, const VuoFont value2) |
| 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.
|
|