VuoFont C type definition.
- Copyright
- Copyright © 2012–2015 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
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_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 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.
|
|