EMAN2
Public Member Functions | Private Attributes | List of all members
EMAN::EMFTGL::EMFTGLManager Class Reference

A class for managing multiple instances of EMFTGLFontInstances, in particular for caching them, for constructing news ones if they don't exist, and for returning appropriate instances. More...

Public Member Functions

 EMFTGLManager ()
 
 ~EMFTGLManager ()
 
FTFont * get_font (EMFTGL::FontMode mode, const string &file_name, const unsigned int face_size, const unsigned int d, const bool use_dl)
 Get a font with the associated parameters. More...
 

Private Attributes

vector< EMFTGLFontInstance * > font_instances
 Disallow copy construction. More...
 

Detailed Description

A class for managing multiple instances of EMFTGLFontInstances, in particular for caching them, for constructing news ones if they don't exist, and for returning appropriate instances.

Author
David Woolford
Date
July 2008

Definition at line 214 of file emftgl.h.

Constructor & Destructor Documentation

◆ EMFTGLManager()

EMAN::EMFTGL::EMFTGLManager::EMFTGLManager ( )

◆ ~EMFTGLManager()

EMAN::EMFTGL::EMFTGLManager::~EMFTGLManager ( )

Member Function Documentation

◆ get_font()

FTFont * EMAN::EMFTGL::EMFTGLManager::get_font ( EMFTGL::FontMode  mode,
const string &  file_name,
const unsigned int  face_size,
const unsigned int  d,
const bool  use_dl 
)

Get a font with the associated parameters.

Member Data Documentation

◆ font_instances

vector<EMFTGLFontInstance*> EMAN::EMFTGL::EMFTGLManager::font_instances
private

Disallow copy construction.

Disallow Assignment

Definition at line 231 of file emftgl.h.


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