namespace  uta  class  Font  FreeType based surface font
FreeType based surface font. This class uses the benefit of truetype fonts (antialiasing, *many* free fonts) as well as the speed gain of surface fonts. When creating an object of Font the surfaces for the characters are all rendered in best quality. When the font-object is asked to create a surface from a string it just blits these character surfaces, which is quite fast.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 static  Color  defaultFadeColor
  Font(const string& fontfilename, int ptsize = 12)
  Font(const string& fontfilename, int ptsize, const Color &fontCol, const Color &backCol)
  Font(const Font& )
  Font()
  Font(const Surface* img)
  ~Font()
 void  create(const string& fontfilename, int ptsize = 12, const Color &fontCol = Font::defaultFontColor, const Color &backCol = Font::defaultFadeColor)
 Surface*  getChar(unsigned char ) const 
 Surface*  getString(const string & ) const 
 int  blitString(const string&, Surface* target, const Point& pos) const 
 int  blitString(const string&, Surface* target, const Point& pos, const vector<Color>& pal) const 
 Point  getSize(unsigned char c) const 
 int  getHeight() const 
 const  Color&  fontColor() const 
 const  Color&  fadeColor() const 
 bool  initialized_
 Surface*  getCharPtr(unsigned char ) const 
 Surface*  renderChar(unsigned char )
 void  createPalette()
 void  createFont()
  static members
 int  ptsize_
 int  height_
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by  Malte  Zöckler,  Roland Wunderling 
contact:  doc++@zib.de