Vuo  0.7.0
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
VuoFont.c File Reference

Description

VuoFont implementation.

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.
 
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_valueFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_object * VuoFont_jsonFromValue (const VuoFont value)
 Encodes value as a JSON object.
 
char * VuoFont_summaryFromValue (const VuoFont value)
 Returns a compact string representation of value (comma-separated components).
 

Function Documentation

static VuoHorizontalAlignment getAlignmentForString ( const char *  s)
static

Returns the horizontal alignment for the specified string key.

static const char* getStringForAlignment ( VuoHorizontalAlignment  a)
static

Returns a string key for the specified horizontal alignment.