Classes | Public Member Functions | Static Public Member Functions | List of all members
openmsx::TTFFontPool Class Reference

Public Member Functions

 TTFFontPool (const TTFFontPool &)=delete
TTFFontPooloperator= (const TTFFontPool &)=delete
TTF_Font * get (const string &filename, int ptSize)
void release (TTF_Font *font)

Static Public Member Functions

static TTFFontPoolinstance ()

Detailed Description

Definition at line 30 of file

Constructor & Destructor Documentation

◆ TTFFontPool()

openmsx::TTFFontPool::TTFFontPool ( const TTFFontPool )

Member Function Documentation

◆ get()

TTF_Font * openmsx::TTFFontPool::get ( const string &  filename,
int  ptSize 

◆ instance()

TTFFontPool & openmsx::TTFFontPool::instance ( )

Definition at line 97 of file

Referenced by openmsx::TTFFont::TTFFont(), and openmsx::TTFFont::~TTFFont().

◆ operator=()

TTFFontPool& openmsx::TTFFontPool::operator= ( const TTFFontPool )

◆ release()

void openmsx::TTFFontPool::release ( TTF_Font *  font)

Definition at line 128 of file

References move_pop_back(), and rfind_if_unguarded().

Referenced by openmsx::TTFFont::~TTFFont().

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