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

Public Member Functions

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

Static Public Member Functions

static TTFFontPoolinstance ()
 

Detailed Description

Definition at line 30 of file TTFFont.cc.

Constructor & Destructor Documentation

◆ TTFFontPool() [1/2]

openmsx::TTFFontPool::TTFFontPool ( const TTFFontPool )
delete

◆ TTFFontPool() [2/2]

openmsx::TTFFontPool::TTFFontPool ( TTFFontPool &&  )
delete

Member Function Documentation

◆ get()

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

Definition at line 105 of file TTFFont.cc.

References end(), ranges::find(), and openmsx::SDLTTF::instance().

◆ instance()

TTFFontPool & openmsx::TTFFontPool::instance ( )
static

Definition at line 99 of file TTFFont.cc.

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ release()

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

Definition at line 129 of file TTFFont.cc.

References move_pop_back(), and rfind_unguarded().

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


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