Detailed Description
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.
- See also:
- FTBBox
-
FTPoint
Definition at line 50 of file FTGlyph.h.
Constructor & Destructor Documentation
FTGlyph::FTGlyph |
( |
FT_GlyphSlot |
glyph |
) |
[protected] |
Create a glyph.
- Parameters:
-
| glyph | The Freetype glyph to be processed |
virtual FTGlyph::~FTGlyph |
( |
|
) |
[virtual] |
Member Function Documentation
virtual float FTGlyph::Advance |
( |
|
) |
const [virtual] |
Return the advance width for this glyph.
- Returns:
- advance width.
virtual const FTBBox& FTGlyph::BBox |
( |
|
) |
const [virtual] |
Return the bounding box for this glyph.
- Returns:
- bounding box.
virtual FT_Error FTGlyph::Error |
( |
|
) |
const [virtual] |
Queries for errors.
- Returns:
- The current error code.
virtual const FTPoint& FTGlyph::Render |
( |
const FTPoint & |
pen, |
|
|
int |
renderMode | |
|
) |
| | [pure virtual] |
Friends And Related Function Documentation
The documentation for this class was generated from the following file: