FTGL 2.1.3~rc5
|
FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs. More...
#include <FTPolyGlyph.h>
Public Member Functions | |
FTPolygonGlyph (FT_GlyphSlot glyph, float outset, bool useDisplayList) | |
Constructor. | |
virtual | ~FTPolygonGlyph () |
Destructor. | |
virtual const FTPoint & | Render (const FTPoint &pen, int renderMode) |
Render this glyph at the current pen position. |
FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs.
Definition at line 43 of file FTPolyGlyph.h.
FTPolygonGlyph::FTPolygonGlyph | ( | FT_GlyphSlot | glyph, |
float | outset, | ||
bool | useDisplayList | ||
) |
Constructor.
Sets the Error to Invalid_Outline if the glyphs isn't an outline.
glyph | The Freetype glyph to be processed |
outset | The outset distance |
useDisplayList | Enable or disable the use of Display Lists for this glyph true turns ON display lists. false turns OFF display lists. |
virtual FTPolygonGlyph::~FTPolygonGlyph | ( | ) | [virtual] |
Destructor.
Render this glyph at the current pen position.
pen | The current pen position. |
renderMode | Render mode to display |
Implements FTGlyph.