3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
TTFFinder Class Reference

#include <wxcomponents.h>

Static Public Member Functions

static std::string findFont (const char *fontFile)
 
static std::string suggestFontName (unsigned int fontType, unsigned int index)
 Given an font type (Sans, serif etc) suggest a font name. More...
 
static std::string getBestFontFile (unsigned int type)
 Returns a valid file that points to an installed ttf file, or an empty string. More...
 

Member Function Documentation

◆ findFont()

std::string TTFFinder::findFont ( const char *  fontFile)
static

References stlStr().

◆ getBestFontFile()

std::string TTFFinder::getBestFontFile ( unsigned int  type)
static

Returns a valid file that points to an installed ttf file, or an empty string.

References ASSERT.

Referenced by threeDepictApp::OnInit().

Here is the caller graph for this function:

◆ suggestFontName()

std::string TTFFinder::suggestFontName ( unsigned int  fontType,
unsigned int  index 
)
static

Given an font type (Sans, serif etc) suggest a font name.

References TTFFINDER_FONT_MONO, TTFFINDER_FONT_SANS, and TTFFINDER_FONT_SERIF.


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