FTGL 2.4.0
Data Structures | Functions
FTTextureGlyph.h File Reference
#include <FTGL/ftgl.h>

Go to the source code of this file.

Data Structures

class  FTTextureGlyph
 FTTextureGlyph is a specialisation of FTGlyph for creating texture glyphs. More...
 

Functions

FTGLglyphftglCreateTextureGlyph (FT_GlyphSlot glyph, int id, int xOffset, int yOffset, int width, int height)
 Create a specialisation of FTGLglyph for creating pixmaps.
 

Function Documentation

◆ ftglCreateTextureGlyph()

FTGLglyph * ftglCreateTextureGlyph ( FT_GlyphSlot  glyph,
int  id,
int  xOffset,
int  yOffset,
int  width,
int  height 
)

Create a specialisation of FTGLglyph for creating pixmaps.

Parameters
glyphThe Freetype glyph to be processed.
idThe id of the texture that this glyph will be drawn in.
xOffsetThe x offset into the parent texture to draw this glyph.
yOffsetThe y offset into the parent texture to draw this glyph.
widthThe width of the parent texture.
heightThe height (number of rows) of the parent texture.
Returns
An FTGLglyph* object.