FTPolygonGlyph Class Reference

FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs. More...

#include <FTPolyGlyph.h>

Inheritance diagram for FTPolygonGlyph:
FTGlyph

Public Member Functions

 FTPolygonGlyph (FT_GlyphSlot glyph, float outset, bool useDisplayList)
 Constructor.
virtual ~FTPolygonGlyph ()
 Destructor.
virtual const FTPointRender (const FTPoint &pen, int renderMode)
 Render this glyph at the current pen position.

Detailed Description

FTPolygonGlyph is a specialisation of FTGlyph for creating tessellated polygon glyphs.

Definition at line 43 of file FTPolyGlyph.h.


Constructor & Destructor Documentation

FTPolygonGlyph::FTPolygonGlyph ( FT_GlyphSlot  glyph,
float  outset,
bool  useDisplayList 
)

Constructor.

Sets the Error to Invalid_Outline if the glyphs isn't an outline.

Parameters:
glyph The Freetype glyph to be processed
Parameters:
outset The outset distance
Parameters:
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.


Member Function Documentation

virtual const FTPoint& FTPolygonGlyph::Render ( const FTPoint pen,
int  renderMode 
) [virtual]

Render this glyph at the current pen position.

Parameters:
pen The current pen position.
Parameters:
renderMode Render mode to display
Returns:
The advance distance for this glyph.

Implements FTGlyph.


The documentation for this class was generated from the following file:
Generated on Mon Feb 21 19:29:01 2011 for FTGL by  doxygen 1.6.3