FTExtrudeGlyph Class Reference

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

#include <FTExtrdGlyph.h>

Inheritance diagram for FTExtrudeGlyph:
FTGlyph

Public Member Functions

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

Detailed Description

FTExtrudeGlyph is a specialisation of FTGlyph for creating tessellated extruded polygon glyphs.

Definition at line 43 of file FTExtrdGlyph.h.


Constructor & Destructor Documentation

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.

Parameters:
glyph The Freetype glyph to be processed
Parameters:
depth The distance along the z axis to extrude the glyph
Parameters:
frontOutset outset contour size
Parameters:
backOutset outset contour size
Parameters:
useDisplayList Enable or disable the use of Display Lists for this glyph true turns ON display lists. false turns OFF display lists.
virtual FTExtrudeGlyph::~FTExtrudeGlyph (  )  [virtual]

Destructor.


Member Function Documentation

virtual const FTPoint& FTExtrudeGlyph::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 Jan 24 15:44:46 2011 for FTGL by  doxygen 1.6.3