A class for encapsulatiing a particular instance of an FTFont (pointer) Each FTFont is characterised by 5 parameters, them being the font mode, the font file name, the face size, whether or not display lists are being used, and depth (which is redundant, except when the font mode is EXTRUDE).
More...
A class for encapsulatiing a particular instance of an FTFont (pointer) Each FTFont is characterised by 5 parameters, them being the font mode, the font file name, the face size, whether or not display lists are being used, and depth (which is redundant, except when the font mode is EXTRUDE).
- Author
- David Woolford
- Date
- July 2008
Definition at line 179 of file emftgl.h.
◆ EMFTGLFontInstance()
EMAN::EMFTGL::EMFTGLFontInstance::EMFTGLFontInstance |
( |
EMFTGL::FontMode |
mode, |
|
|
const string & |
file_name, |
|
|
const unsigned int |
face_size, |
|
|
const unsigned int |
d, |
|
|
const bool |
use_dl |
|
) |
| |
Constructor - must supply the 5 important parameters.
◆ ~EMFTGLFontInstance()
EMAN::EMFTGL::EMFTGLFontInstance::~EMFTGLFontInstance |
( |
| ) |
|
◆ get_font()
FTFont * EMAN::EMFTGL::EMFTGLFontInstance::get_font |
( |
| ) |
|
|
inline |
Get the pointer to the font.
Definition at line 193 of file emftgl.h.
References font.
◆ params_match()
bool EMAN::EMFTGL::EMFTGLFontInstance::params_match |
( |
EMFTGL::FontMode |
mode, |
|
|
const string & |
file_name, |
|
|
const unsigned int |
face_size, |
|
|
const unsigned int |
depth, |
|
|
const bool |
use_dl |
|
) |
| |
Checks to see if the argument params match the internally stored equivalents.
◆ depth
unsigned int EMAN::EMFTGL::EMFTGLFontInstance::depth |
|
private |
◆ face_size
unsigned int EMAN::EMFTGL::EMFTGLFontInstance::face_size |
|
private |
◆ font
FTFont* EMAN::EMFTGL::EMFTGLFontInstance::font |
|
private |
◆ font_file_name
string EMAN::EMFTGL::EMFTGLFontInstance::font_file_name |
|
private |
◆ font_mode
Disallow copy construction.
Disallow Assignment
Definition at line 200 of file emftgl.h.
◆ use_display_lists
bool EMAN::EMFTGL::EMFTGLFontInstance::use_display_lists |
|
private |
The documentation for this class was generated from the following file: