uicore::FontFamily Class Referenceabstract

FontFamily class. More...

#include <font_family.h>

Public Member Functions

virtual void add (const std::string &typeface_name, float height)=0
 Add standard font. More...
 
virtual void add (const std::string &typeface_name, const FontDescription &desc)=0
 
virtual void add (const FontDescription &desc, const std::string &ttf_filename)=0
 
virtual const std::stringfamily_name () const =0
 Font family name used for this font family. More...
 

Static Public Member Functions

static std::shared_ptr< FontFamilycreate (const std::string &family_name)
 Constructs a font family with the given family name. More...
 

Detailed Description

FontFamily class.

A FontFamily is a collection of font descriptions

Member Function Documentation

virtual void uicore::FontFamily::add ( const std::string typeface_name,
float  height 
)
pure virtual

Add standard font.

virtual void uicore::FontFamily::add ( const std::string typeface_name,
const FontDescription desc 
)
pure virtual
virtual void uicore::FontFamily::add ( const FontDescription desc,
const std::string ttf_filename 
)
pure virtual
static std::shared_ptr<FontFamily> uicore::FontFamily::create ( const std::string family_name)
static

Constructs a font family with the given family name.

virtual const std::string& uicore::FontFamily::family_name ( ) const
pure virtual

Font family name used for this font family.


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