FTGL 2.4.0
|
FTGlyph is the base class for FTGL glyphs. More...
#include <FTGlyph.h>
Public Member Functions | |
virtual | ~FTGlyph () |
Destructor. | |
virtual const FTPoint & | Render (const FTPoint &pen, int renderMode)=0 |
Renders this glyph at the current pen position. | |
virtual float | Advance () const |
Return the advance width for this glyph. | |
virtual const FTBBox & | BBox () const |
Return the bounding box for this glyph. | |
virtual FT_Error | Error () const |
Queries for errors. | |
Protected Member Functions | |
FTGlyph (FT_GlyphSlot glyph) | |
Create a glyph. | |
Friends | |
class | FTBitmapGlyph |
class | FTBufferGlyph |
class | FTExtrudeGlyph |
class | FTOutlineGlyph |
class | FTPixmapGlyph |
class | FTPolygonGlyph |
class | FTTextureGlyph |
class | FTTriangleExtractorGlyph |
FTGlyph is the base class for FTGL glyphs.
It provides the interface between Freetype glyphs and their openGL renderable counterparts. This is an abstract class and derived classes must implement the Render
function.
|
protected |
Create a glyph.
glyph | The Freetype glyph to be processed |
|
virtual |
Destructor.
|
virtual |
Return the advance width for this glyph.
|
virtual |
Return the bounding box for this glyph.
|
virtual |
Queries for errors.
Renders this glyph at the current pen position.
pen | The current pen position. |
renderMode | Render mode to display |
Implemented in FTBitmapGlyph, FTBufferGlyph, FTExtrudeGlyph, FTOutlineGlyph, FTPixmapGlyph, FTPolygonGlyph, FTTextureGlyph, and FTTriangleExtractorGlyph.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |