iso::font::FontManager Class Reference

#include <iso_font_manager.h>

List of all members.

Public Member Functions

 FontManager () throw (FontException)
 ~FontManager ()
BitmapFontbitmapFont (const base::String &pFontName) throw (FontException)
VectorFontvectorFont (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


Constructor & Destructor Documentation

FontManager::FontManager (  )  throw (FontException)

FontManager::~FontManager (  ) 


Member Function Documentation

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 (  ) 


Member Data Documentation

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]


The documentation for this class was generated from the following files:
Generated on Thu Jul 8 12:44:35 2010 for iso_font by  doxygen 1.5.1