TrueTypeFont Class Reference

#include <TrueTypeFont.h>

List of all members.

Public Member Functions

 TrueTypeFont (const std::string &typeFace, unsigned int h)
virtual ~TrueTypeFont ()
bool getImageForText (const std::string &text, wxImage &image)

Protected Member Functions

bool createCharacter (FT_Face face, unsigned char ch)

Protected Attributes

FT_Face face
FT_Library library
FT_Glyph glyphs [128]
FT_Bitmap * bitmaps [128]


Detailed Description

Definition at line 33 of file TrueTypeFont.h.


Constructor & Destructor Documentation

TrueTypeFont::TrueTypeFont ( const std::string typeFace,
unsigned int  h 
)

Definition at line 25 of file TrueTypeFont.cpp.

References createCharacter(), face, and library.

TrueTypeFont::~TrueTypeFont (  )  [virtual]

Definition at line 54 of file TrueTypeFont.cpp.

References face, and library.


Member Function Documentation

bool TrueTypeFont::getImageForText ( const std::string text,
wxImage &  image 
)

Definition at line 91 of file TrueTypeFont.cpp.

References face, and int().

Referenced by MainFrame::MainFrame().

bool TrueTypeFont::createCharacter ( FT_Face  face,
unsigned char  ch 
) [protected]

Definition at line 64 of file TrueTypeFont.cpp.

References bitmaps, and glyphs.

Referenced by TrueTypeFont().


Member Data Documentation

FT_Face TrueTypeFont::face [protected]

Definition at line 42 of file TrueTypeFont.h.

Referenced by getImageForText(), TrueTypeFont(), and ~TrueTypeFont().

FT_Library TrueTypeFont::library [protected]

Definition at line 43 of file TrueTypeFont.h.

Referenced by TrueTypeFont(), and ~TrueTypeFont().

FT_Glyph TrueTypeFont::glyphs[128] [protected]

Definition at line 44 of file TrueTypeFont.h.

Referenced by createCharacter().

FT_Bitmap* TrueTypeFont::bitmaps[128] [protected]

Definition at line 45 of file TrueTypeFont.h.

Referenced by createCharacter().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:08 2009 for Scorched3D by  doxygen 1.5.3