Vuo 2.4.4
Loading...
Searching...
No Matches
VuoFont.h
Go to the documentation of this file.
1
10#ifndef VuoFont_h
11#define VuoFont_h
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include "VuoBoolean.h"
18#include "VuoColor.h"
20#include "VuoInteger.h"
21#include "VuoReal.h"
22#include "VuoText.h"
23
35typedef struct
36{
38 VuoReal pointSize;
39 VuoBoolean underline;
40 VuoColor color;
41 VuoHorizontalAlignment alignment;
44} VuoFont;
45
46#define VuoFont_SUPPORTS_COMPARISON
47
48VuoFont VuoFont_make(VuoText fontName, VuoReal pointSize, VuoBoolean underline, VuoColor color, VuoHorizontalAlignment alignment, VuoReal characterSpacing, VuoReal lineSpacing);
50
51VuoFont VuoFont_makeFromJson(struct json_object * js);
52struct json_object * VuoFont_getJson(const VuoFont value);
53char * VuoFont_getSummary(const VuoFont value);
54
55bool VuoFont_areEqual(const VuoFont a, const VuoFont b);
56bool VuoFont_isLessThan(const VuoFont a, const VuoFont b);
57
59
62char * VuoFont_getString(const VuoFont value);
66
71#ifdef __cplusplus
72}
73#endif
74
75#endif