Vuo  2.0.2
VuoFont.h
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoBoolean.h"
13 #include "VuoColor.h"
14 #include "VuoHorizontalAlignment.h"
15 #include "VuoInteger.h"
16 #include "VuoReal.h"
17 #include "VuoText.h"
18 
30 typedef struct
31 {
33  VuoReal pointSize;
34  VuoBoolean underline;
35  VuoColor color;
36  VuoHorizontalAlignment alignment;
39 } VuoFont;
40 
41 VuoFont VuoFont_make(VuoText fontName, VuoReal pointSize, VuoBoolean underline, VuoColor color, VuoHorizontalAlignment alignment, VuoReal characterSpacing, VuoReal lineSpacing);
43 
45 struct json_object * VuoFont_getJson(const VuoFont value);
46 char * VuoFont_getSummary(const VuoFont value);
47 
48 #define VuoFont_SUPPORTS_COMPARISON
49 bool VuoFont_areEqual(const VuoFont a, const VuoFont b);
50 bool VuoFont_isLessThan(const VuoFont a, const VuoFont b);
51 
53 
56 VuoFont VuoFont_makeFromString(const char *str);
57 char * VuoFont_getString(const VuoFont value);
58 void VuoFont_retain(VuoFont value);
59 void VuoFont_release(VuoFont value);
61