A font description: family, style, point size, underline.
|
struct | VuoFont |
| A font description: family, style, point size, underline. More...
|
|
|
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).
|
|
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.
|
|
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.
|
|
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.
|
|
Class Members |
VuoHorizontalAlignment |
alignment |
|
VuoReal |
characterSpacing |
A value of 1.0 is normal character spacing. Must be >= 0.0. |
VuoColor |
color |
|
VuoText |
fontName |
Unique font machine name. Includes variants such as bold, italic, and oblique. |
VuoReal |
lineSpacing |
A value of 1.0 is normal line spacing. Must be >= 0.0. |
VuoReal |
pointSize |
|
VuoBoolean |
underline |
|
Returns true if both fonts have the same name, size, underline status, color, alignment, and character/line spacing.
struct json_object * VuoFont_getJson |
( |
const VuoFont |
value | ) |
|
|
read |
Encodes value
as a JSON object.
char* VuoFont_getString |
( |
const VuoFont |
value | ) |
|
Automatically generated function.
char * VuoFont_getSummary |
( |
const VuoFont |
value | ) |
|
Returns a compact string representation of value
(comma-separated components).
Returns a new VuoFont with the specified attributes.
VuoFont VuoFont_makeFromJson |
( |
json_object * |
js | ) |
|
Decodes the JSON object js
to create a new value.
VuoFont VuoFont_makeFromString |
( |
const char * |
str | ) |
|
Automatically generated function.
void VuoFont_release |
( |
VuoFont |
value | ) |
|
Automatically generated function.
void VuoFont_retain |
( |
VuoFont |
value | ) |
|
Automatically generated function.