FTGL 2.4.0
FTGLOutlineFont.h File Reference
#include <FTGL/ftgl.h>
Include dependency graph for FTGLOutlineFont.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  FTOutlineFont
 FTOutlineFont is a specialisation of the FTFont class for handling Vector Outline fonts. More...
 

Macros

#define FTGLOutlineFont   FTOutlineFont
 

Functions

FTGLfontftglCreateOutlineFont (const char *file)
 Create a specialised FTGLfont object for handling vector outline fonts.
 
FTGLfontftglCreateOutlineFontFromMem (const unsigned char *bytes, size_t len)
 Create a specialised FTGLfont object for handling vector outline fonts from a buffer in memory.
 

Macro Definition Documentation

◆ FTGLOutlineFont

#define FTGLOutlineFont   FTOutlineFont

Definition at line 84 of file FTGLOutlineFont.h.

Function Documentation

◆ ftglCreateOutlineFont()

FTGLfont * ftglCreateOutlineFont ( const char * file)

Create a specialised FTGLfont object for handling vector outline fonts.

Parameters
fileThe font file name.
Returns
An FTGLfont* object.
See also
FTGLfont

◆ ftglCreateOutlineFontFromMem()

FTGLfont * ftglCreateOutlineFontFromMem ( const unsigned char * bytes,
size_t len )

Create a specialised FTGLfont object for handling vector outline 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
bytesthe in-memory buffer
lenthe length of the buffer in bytes
Returns
An FTGLfont* object.