Vuo
2.1.2
renderer
VuoRendererFonts.hh
Go to the documentation of this file.
1
10
#pragma once
11
15
class
VuoRendererFonts
16
{
17
public
:
18
static
VuoRendererFonts
*
getSharedFonts
(
void
);
19
20
static
double
getHorizontalOffset
(
const
QFont font,
const
QString text);
21
22
static
const
qreal
thickPenWidth
;
23
static
const
qreal
midPenWidth
;
24
25
static
const
QString
fontFamily
;
26
27
static
const
qreal
nodeTitleFontSize
;
28
static
const
qreal
nodeClassFontSize
;
29
static
const
qreal
portTitleFontSize
;
30
static
const
qreal
portDetailFontSize
;
31
32
QFont
nodeTitleFont
(
void
);
33
QFont
nodeClassFont
(
void
);
34
QFont
nodePortTitleFont
(
void
);
35
QFont
nodePortConstantFont
(
void
);
36
QFont
portPopoverFont
(
void
);
37
QFont
dialogHeadingFont
();
38
QFont
dialogBodyFont
();
39
QFont
commentFont
(
void
);
40
41
QString
getCSS
(QFont font);
42
43
private
:
44
VuoRendererFonts
(
void
);
45
static
void
addFont(QString font);
46
47
static
VuoRendererFonts
*sharedFonts;
48
};
49
Generated on Tue Jul 14 2020 23:19:40 for Vuo by
1.8.18