#include <FTGL/ftgl.h>
#include <vector>
Go to the source code of this file.
◆ FTGLTriangleExtractorFont
◆ ftglCreateTriangleExtractorFont()
FTGLfont * ftglCreateTriangleExtractorFont |
( |
const char * | file | ) |
|
Create a specialised FTGLfont object for handling tesselated polygon mesh fonts.
- Parameters
-
- Returns
- An FTGLfont* object.
- See also
- FTGLfont
References FTGL_EXPORT.
◆ ftglCreateTriangleExtractorFontFromMem()
FTGLfont * ftglCreateTriangleExtractorFontFromMem |
( |
const unsigned char * | bytes, |
|
|
size_t | len ) |
Create a specialised FTGLfont object for handling tesselated polygon mesh 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.
- Parameters
-
bytes | the in-memory buffer |
len | the length of the buffer in bytes |
- Returns
- An FTGLfont* object.
References FTGL_END_C_DECLS, and FTGL_EXPORT.