FTGL
2.2.0
|
#include <FTGL/ftgl.h>
Go to the source code of this file.
Data Structures | |
class | FTTextureFont |
FTTextureFont is a specialisation of the FTFont class for handling Texture mapped fonts. More... | |
Defines | |
#define | FTGLTextureFont FTTextureFont |
Functions | |
FTGLfont * | ftglCreateTextureFont (const char *file) |
Create a specialised FTGLfont object for handling texture-mapped fonts. | |
FTGLfont * | ftglCreateTextureFontFromMem (const unsigned char *bytes, size_t len) |
Create a specialised FTGLfont object for handling texture-mapped fonts from a buffer in memory. |
#define FTGLTextureFont FTTextureFont |
Definition at line 84 of file FTGLTextureFont.h.
FTGLfont* ftglCreateTextureFont | ( | const char * | file | ) |
Create a specialised FTGLfont object for handling texture-mapped fonts.
file | The font file name. |
FTGLfont* ftglCreateTextureFontFromMem | ( | const unsigned char * | bytes, |
size_t | len | ||
) |
Create a specialised FTGLfont object for handling texture-mapped fonts from a buffer in memory.
Sets Error flag. The buffer is owned by the client and is NOT copied by FTGL. The pointer must be valid while using FTGL.
bytes | the in-memory buffer |
len | the length of the buffer in bytes |