Vuo  2.3.2
Public Member Functions | Public Attributes | List of all members
VuoFontClass Class Reference


A wrapper for VuoFont, so it can be used as a std::map key.

Definition at line 37 of file

Public Member Functions

 VuoFontClass (VuoFont font, float backingScaleFactor, float verticalScale, float rotation, float wrapWidth)
 Wraps a VuoFont. More...
 VuoFontClass (const VuoFontClass &font)
 Copies a VuoFontClass. More...
 ~VuoFontClass ()
 Destroys a VuoFontClass. More...

Public Attributes

VuoFont f
 The actual font. More...
float backingScaleFactor
 1 = nonretina, 2 = retina. More...
float verticalScale
 1 = normal font aspect ratio. More...
float rotation
 In radians. More...
float wrapWidth
 The width (in Vuo Coordinates) at which to wrap lines, or infinity to disable wrapping. More...

Constructor & Destructor Documentation

◆ VuoFontClass() [1/2]

VuoFontClass::VuoFontClass ( VuoFont  font,
float  backingScaleFactor,
float  verticalScale,
float  rotation,
float  wrapWidth 

Wraps a VuoFont.

Definition at line 49 of file

◆ VuoFontClass() [2/2]

VuoFontClass::VuoFontClass ( const VuoFontClass font)

Copies a VuoFontClass.

Definition at line 57 of file

◆ ~VuoFontClass()

VuoFontClass::~VuoFontClass ( )

Destroys a VuoFontClass.

Definition at line 65 of file

Member Data Documentation

◆ backingScaleFactor

float VuoFontClass::backingScaleFactor

1 = nonretina, 2 = retina.

Definition at line 41 of file

◆ f

VuoFont VuoFontClass::f

The actual font.

Definition at line 40 of file

◆ rotation

float VuoFontClass::rotation

In radians.

Definition at line 43 of file

◆ verticalScale

float VuoFontClass::verticalScale

1 = normal font aspect ratio.

Definition at line 42 of file

◆ wrapWidth

float VuoFontClass::wrapWidth

The width (in Vuo Coordinates) at which to wrap lines, or infinity to disable wrapping.

Definition at line 44 of file

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