Vuo  0.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
VuoRendererFonts Class Reference

Description

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.
 

Static Public Member Functions

static VuoRendererFontsgetSharedFonts (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.
 

Member Function Documentation

VuoRendererFonts * VuoRendererFonts::getSharedFonts ( void  )
static

Returns a shared font provider.

Don't free this object.


The documentation for this class was generated from the following files: