#include <FTGLTextureFont.h>
Inheritance diagram for FTGLTextureFont:

Public Member Functions | |
| FTGLTextureFont (const char *fontname) | |
| 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. | |
Definition at line 16 of file FTGLTextureFont.h.
|
|
Open and read a font file. Sets Error flag.
Definition at line 21 of file FTGLTextureFont.cpp. References FTFont::face, and FTFace::GlyphCount(). |
|
||||||||||||
|
Open and read a font from a buffer in memory. Sets Error flag.
Definition at line 37 of file FTGLTextureFont.cpp. References FTFont::face, and FTFace::GlyphCount(). |
|
|
Destructor.
Definition at line 53 of file FTGLTextureFont.cpp. |
|
||||||||||||
|
Set the char size for the current face.
Reimplemented from FTFont. Definition at line 146 of file FTGLTextureFont.cpp. References FTFont::face, FTFont::FaceSize(), and FTFace::GlyphCount(). |
|
|
Renders a string of characters.
Reimplemented from FTFont. Definition at line 172 of file FTGLTextureFont.cpp. References FTFont::Render(). |
|
|
Renders a string of characters.
Reimplemented from FTFont. Definition at line 159 of file FTGLTextureFont.cpp. References FTFont::Render(). |
1.3.3