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

FTPolyGlyph Class Reference

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

#include <FTPolyGlyph.h>

Inheritance diagram for FTPolyGlyph:

FTGlyph List of all members.

Public Member Functions

 FTPolyGlyph (FT_Glyph glyph)
 Constructor.

virtual ~FTPolyGlyph ()
 Destructor.

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


Detailed Description

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

See also:
FTGlyphContainer

FTVectoriser

Definition at line 22 of file FTPolyGlyph.h.


Constructor & Destructor Documentation

FTPolyGlyph::FTPolyGlyph FT_Glyph  glyph  ) 
 

Constructor.

Parameters:
glyph The Freetype glyph to be processed

Definition at line 5 of file FTPolyGlyph.cpp.

References FTVectoriser::ContourCount(), FTVectoriser::GetMesh(), FTVectoriser::MakeMesh(), FTTesselation::Point(), FTTesselation::PointCount(), FTVectoriser::PointCount(), FTTesselation::PolygonType(), FTMesh::Tesselation(), FTMesh::TesselationCount(), FTPoint::x, and FTPoint::y.

FTPolyGlyph::~FTPolyGlyph  )  [virtual]
 

Destructor.

Definition at line 47 of file FTPolyGlyph.cpp.


Member Function Documentation

float FTPolyGlyph::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 53 of file FTPolyGlyph.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:40 2003 for FTGL by doxygen 1.3.3