trase
trase::FontManager Class Reference

Public Member Functions

std::string find_font (const std::string &name1, const std::string &name2)
 finds a font with name containing substring name1 (case sensitive), and optionally substring name2 (case insensitive) e.g. More...
 
void add_system_fonts ()
 
void add_font_dir (const std::string &path)
 
void clear_font_dirs ()
 

Public Attributes

std::vector< std::string > m_list_of_available_fonts
 
std::vector< std::string > m_font_dirs
 

Member Function Documentation

◆ find_font()

std::string trase::FontManager::find_font ( const std::string &  name1,
const std::string &  name2 
)

finds a font with name containing substring name1 (case sensitive), and optionally substring name2 (case insensitive) e.g.

find_font("Roboto",""); find_font("Roboto","bold");


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