#include <iso_font_manager.h>
Public Member Functions | |
FontManager () throw (FontException) | |
~FontManager () | |
BitmapFont & | bitmapFont (const base::String &pFontName) throw (FontException) |
VectorFont & | vectorFont (const base::String &pFontName) throw (FontException) |
void | createBitmapFont (const base::String &pFontName, const base::String &pFontFile, unsigned int pFontHeight) throw (FontException) |
void | createVectorFont (const base::String &pFontName, const base::String &pFontFile, unsigned int pSubdivisionCount) throw (FontException) |
data::Buffer< unsigned char > * | bitmapText (const base::String &pFontName, const base::String &pText, const math::Vector2< float > &pSpacing, bool pKerning) throw (FontException) |
geom::GeometryGroup * | vectorText (const base::String &pFontName, const base::String &pText, const math::Vector2< float > &pSize, const math::Vector2< float > &pSpacing, bool pKerning) throw (FontException) |
FT_Library & | fontLibrary () |
Protected Attributes | |
FT_Library | mFontLibrary |
QHash< base::String, BitmapFont * > | mBitmapFonts |
freetype font library | |
QHash< base::String, VectorFont * > | mVectorFonts |
FontManager::FontManager | ( | ) | throw (FontException) |
FontManager::~FontManager | ( | ) |
BitmapFont & FontManager::bitmapFont | ( | const base::String & | pFontName | ) | throw (FontException) |
VectorFont & FontManager::vectorFont | ( | const base::String & | pFontName | ) | throw (FontException) |
void FontManager::createBitmapFont | ( | const base::String & | pFontName, | |
const base::String & | pFontFile, | |||
unsigned int | pFontHeight | |||
) | throw (FontException) |
void FontManager::createVectorFont | ( | const base::String & | pFontName, | |
const base::String & | pFontFile, | |||
unsigned int | pSubdivisionCount | |||
) | throw (FontException) |
data::Buffer< unsigned char > * FontManager::bitmapText | ( | const base::String & | pFontName, | |
const base::String & | pText, | |||
const math::Vector2< float > & | pSpacing, | |||
bool | pKerning | |||
) | throw (FontException) |
geom::GeometryGroup * FontManager::vectorText | ( | const base::String & | pFontName, | |
const base::String & | pText, | |||
const math::Vector2< float > & | pSize, | |||
const math::Vector2< float > & | pSpacing, | |||
bool | pKerning | |||
) | throw (FontException) |
FT_Library & FontManager::fontLibrary | ( | ) |
FT_Library iso::font::FontManager::mFontLibrary [protected] |
QHash< base::String, BitmapFont* > iso::font::FontManager::mBitmapFonts [protected] |
freetype font library
QHash< base::String, VectorFont* > iso::font::FontManager::mVectorFonts [protected] |