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::string & | family_name () const =0 |
Font family name used for this font family. More... | |
Static Public Member Functions | |
static std::shared_ptr< FontFamily > | create (const std::string &family_name) |
Constructs a font family with the given family name. More... | |
FontFamily class.
A FontFamily is a collection of font descriptions
|
pure virtual |
Add standard font.
|
pure virtual |
|
pure virtual |
|
static |
Constructs a font family with the given family name.
|
pure virtual |
Font family name used for this font family.