Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

FTExtrdGlyph Class Reference

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

#include <FTExtrdGlyph.h>

Inheritance diagram for FTExtrdGlyph:

FTGlyph List of all members.

Public Member Functions

 FTExtrdGlyph (FT_Glyph glyph, float depth)
 Constructor.

virtual ~FTExtrdGlyph ()
 Destructor.

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


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.


Constructor & Destructor Documentation

FTExtrdGlyph::FTExtrdGlyph FT_Glyph  glyph,
float  depth
 

Constructor.

Parameters:
glyph The Freetype glyph to be processed
depth The distance along the z axis to extrude the glyph

Definition at line 7 of file FTExtrdGlyph.cpp.

References FTGlyph::bBox, FTVectoriser::Contour(), FTVectoriser::ContourCount(), FTVectoriser::ContourFlag(), FTVectoriser::GetMesh(), FTVectoriser::MakeMesh(), FTContour::Point(), FTTesselation::Point(), FTContour::PointCount(), FTTesselation::PointCount(), FTVectoriser::PointCount(), FTTesselation::PolygonType(), FTMesh::Tesselation(), FTMesh::TesselationCount(), FTBBox::upperZ, FTPoint::x, and FTPoint::y.

FTExtrdGlyph::~FTExtrdGlyph  )  [virtual]
 

Destructor.

Definition at line 104 of file FTExtrdGlyph.cpp.


Member Function Documentation

float 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 110 of file FTExtrdGlyph.cpp.

References FTGlyph::advance, FTPoint::x, and FTPoint::y.


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 15:16:39 2003 for FTGL by doxygen 1.3.3