#include <FTGLTextureFont.h>
Inheritance diagram for FTGLTextureFont:
Definition at line 17 of file FTGLTextureFont.h.
Public Member Functions | |
FTGLTextureFont (const char *fontFilePath) | |
Open and read a font file. | |
FTGLTextureFont (const unsigned char *pBufferBytes, size_t bufferSizeInBytes) | |
Open and read a font from a buffer in memory. | |
virtual | ~FTGLTextureFont () |
Destructor. | |
virtual bool | FaceSize (const unsigned int size, const unsigned int res=72) |
Set the char size for the current face. | |
virtual void | Render (const char *string) |
Renders a string of characters. | |
virtual void | Render (const wchar_t *string) |
Renders a string of characters. |
|
Open and read a font file. Sets Error flag.
Definition at line 21 of file FTGLTextureFont.cpp. References FTFace::GlyphCount(). |
|
Open and read a font from a buffer in memory. Sets Error flag.
Definition at line 36 of file FTGLTextureFont.cpp. References FTFace::GlyphCount(). |
|
Destructor.
Definition at line 51 of file FTGLTextureFont.cpp. References FTVector< GLuint >::size(). |
|
Set the char size for the current face.
Reimplemented from FTFont. Definition at line 140 of file FTGLTextureFont.cpp. References FTVector< GLuint >::clear(), FTVector< GLuint >::empty(), FTFont::FaceSize(), FTFace::GlyphCount(), and FTVector< GLuint >::size(). |
|
Renders a string of characters.
Reimplemented from FTFont. Definition at line 168 of file FTGLTextureFont.cpp. References FTFont::Render(), and FTTextureGlyph::ResetActiveTexture(). |
|
Renders a string of characters.
Reimplemented from FTFont. Definition at line 153 of file FTGLTextureFont.cpp. References FTFont::Render(), and FTTextureGlyph::ResetActiveTexture(). |