FTGL: FTGLExtrdFont.h File Reference

FTGL 2.4.0

Data Structures | Macros | Functions
FTGLExtrdFont.h File Reference
`#include <FTGL/ftgl.h>`
Include dependency graph for FTGLExtrdFont.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures
class | FTExtrudeFont
| FTExtrudeFont is a specialisation of the FTFont class for handling extruded Polygon fonts. More...

## Macros
#define | FTGLExtrdFont FTExtrudeFont

## Functions
FTGLfont * | ftglCreateExtrudeFont (const char *file)
| Create a specialised FTGLfont object for handling extruded polygon fonts. More...
FTGLfont * | ftglCreateExtrudeFontFromMem (const unsigned char *bytes, size_t len)
| Create a specialised FTGLfont object for handling extruded polygon fonts from a buffer in memory. More...

## Macro Definition Documentation

## ◆ FTGLExtrdFont

#define FTGLExtrdFont FTExtrudeFont

Definition at line 86 of file FTGLExtrdFont.h.

## Function Documentation

## ◆ ftglCreateExtrudeFont()

FTGLfont* ftglCreateExtrudeFont | ( | const char * | file | ) |

Create a specialised FTGLfont object for handling extruded polygon fonts.

Parameters

  file | The font file name.

Returns
  An FTGLfont* object.

See also
  FTGLfont
  ftglCreatePolygonFont

## ◆ ftglCreateExtrudeFontFromMem()

FTGLfont* ftglCreateExtrudeFontFromMem | ( | const unsigned char * | bytes,
|  | size_t | len
| ) |  |

Create a specialised FTGLfont object for handling extruded polygon 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.