cee::vis::Font
-
class
Font
: public RefCountedObject A font used for text drawing.
CEETRON Envision has two built in fonts that work without any dependencies:
- createNormalFont() : 8 pt Droid Sans Regular
- createLargeFont() : 16 pt Droid Sans Regular
These fonts are built into CEETRON Envision and have no external dependencies.
For true type font support, use cee::vis::TrueTypeFont instead.
Subclassed by TrueTypeFont
Public Functions
-
virtual unsigned int
pointSize
() const Returns the point size of the font.
-
float
lineSpacing
() const Returns the line spacing.
-
void
setLineSpacing
(float factor) Sets the line spacing.
Line spacing is measured as a proportion of the font height. Default is 1.75 (175%)
Public Static Functions
Protected Functions
-
Font
()