|
FTGL
2.4.0
|
FTExtrudeGlyph is a specialisation of FTGlyph for creating tessellated extruded polygon glyphs. More...
#include <FTExtrdGlyph.h>
Public Member Functions | |
| FTExtrudeGlyph (FT_GlyphSlot glyph, float depth, float frontOutset, float backOutset, bool useDisplayList) | |
| Constructor. More... | |
| virtual | ~FTExtrudeGlyph () |
| Destructor. More... | |
| virtual const FTPoint & | Render (const FTPoint &pen, int renderMode) |
| Render this glyph at the current pen position. More... | |
Public Member Functions inherited from FTGlyph | |
| virtual | ~FTGlyph () |
| Destructor. More... | |
| virtual float | Advance () const |
| Return the advance width for this glyph. More... | |
| virtual const FTBBox & | BBox () const |
| Return the bounding box for this glyph. More... | |
| virtual FT_Error | Error () const |
| Queries for errors. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from FTGlyph | |
| FTGlyph (FT_GlyphSlot glyph) | |
| Create a glyph. More... | |
FTExtrudeGlyph is a specialisation of FTGlyph for creating tessellated extruded polygon glyphs.
Definition at line 43 of file FTExtrdGlyph.h.
| FTExtrudeGlyph::FTExtrudeGlyph | ( | FT_GlyphSlot | glyph, |
| float | depth, | ||
| float | frontOutset, | ||
| float | backOutset, | ||
| bool | useDisplayList | ||
| ) |
Constructor.
Sets the Error to Invalid_Outline if the glyph isn't an outline.
| glyph | The Freetype glyph to be processed |
| depth | The distance along the z axis to extrude the glyph |
| frontOutset | outset contour size |
| backOutset | outset contour size |
| useDisplayList | Enable or disable the use of Display Lists for this glyph true turns ON display lists. false turns OFF display lists. |
|
virtual |
Destructor.
Render this glyph at the current pen position.
| pen | The current pen position. |
| renderMode | Render mode to display |
Implements FTGlyph.
1.8.15