Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FTExtrdGlyph Class Reference

#include <FTExtrdGlyph.h>

Inheritance diagram for FTExtrdGlyph:

FTGlyph

Detailed Description

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

See also:
FTGlyphContainer

FTVectoriser

Definition at line 21 of file FTExtrdGlyph.h.

Public Member Functions

 FTExtrdGlyph (FT_GlyphSlot glyph, float depth, bool useDisplayList)
 Constructor.

virtual ~FTExtrdGlyph ()
 Destructor.

virtual const FTPointRender (const FTPoint &pen)
 Renders this glyph at the current pen position.


Constructor & Destructor Documentation

FTExtrdGlyph::FTExtrdGlyph FT_GlyphSlot  glyph,
float  depth,
bool  useDisplayList
 

Constructor.

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

Parameters:
glyph The Freetype glyph to be processed
depth The distance along the z axis to extrude the glyph
useDisplayList Enable or disable the use of Display Lists for this glyph true turns ON display lists. false turns OFF display lists.

Definition at line 9 of file FTExtrdGlyph.cpp.

References FTVectoriser::Contour(), FTVectoriser::ContourCount(), FTVectoriser::ContourFlag(), FTGL_DOUBLE, FTVectoriser::GetMesh(), FTVectoriser::MakeMesh(), FTContour::Point(), FTTesselation::Point(), FTContour::PointCount(), FTTesselation::PointCount(), FTVectoriser::PointCount(), FTTesselation::PolygonType(), FTBBox::SetDepth(), FTMesh::Tesselation(), FTMesh::TesselationCount(), FTPoint::X(), and FTPoint::Y().

FTExtrdGlyph::~FTExtrdGlyph  )  [virtual]
 

Destructor.

Definition at line 134 of file FTExtrdGlyph.cpp.


Member Function Documentation

const FTPoint & FTExtrdGlyph::Render const FTPoint pen  )  [virtual]
 

Renders this glyph at the current pen position.

Parameters:
pen The current pen position.
Returns:
The advance distance for this glyph.

Implements FTGlyph.

Definition at line 140 of file FTExtrdGlyph.cpp.

References FTPoint::X(), and FTPoint::Y().


The documentation for this class was generated from the following files:
Generated on Sun Dec 5 22:24:06 2004 for FTGL by doxygen 1.3.6