Vuo
0.4.9
|
Provides fonts for rendered items in a composition.
Public Member Functions | |
QFont | nodeTitleFont (void) |
Returns the font for a node's title. | |
QFont | nodeClassFont (void) |
Returns the font for a node's class name. | |
QFont | nodePortTitleFont (void) |
Returns the font for a port's title or a constant flag's text. | |
QFont | portPopoverFont (void) |
Returns the font for a port's popover text. | |
Static Public Member Functions | |
static VuoRendererFonts * | getSharedFonts (void) |
Returns a shared font provider. | |
Static Public Attributes | |
static const qreal | thickPenWidth = 20 |
Width, in pixels at 1:1 zoom, of the top and bottom node edges. Many other drawing metrics are based on this value. | |
static const qreal | midPenWidth = VuoRendererFonts::thickPenWidth/10.0 |
Width, in pixels at 1:1 zoom, of stateful indicator bars and typecast port edges. | |
|
static |
Returns a shared font provider.
Don't free this object.
QFont VuoRendererFonts::nodeClassFont | ( | void | ) |
Returns the font for a node's class name.
QFont VuoRendererFonts::nodePortTitleFont | ( | void | ) |
Returns the font for a port's title or a constant flag's text.
QFont VuoRendererFonts::nodeTitleFont | ( | void | ) |
Returns the font for a node's title.
QFont VuoRendererFonts::portPopoverFont | ( | void | ) |
Returns the font for a port's popover text.
|
static |
Width, in pixels at 1:1 zoom, of stateful indicator bars and typecast port edges.
|
static |
Width, in pixels at 1:1 zoom, of the top and bottom node edges. Many other drawing metrics are based on this value.