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

FTPolyGlyph Class Reference

#include <FTPolyGlyph.h>

Inheritance diagram for FTPolyGlyph:

FTGlyph

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.

Public Member Functions

 FTPolyGlyph (FT_GlyphSlot glyph, bool useDisplayList)
 Constructor.

virtual ~FTPolyGlyph ()
 Destructor.

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


Constructor & Destructor Documentation

FTPolyGlyph::FTPolyGlyph FT_GlyphSlot  glyph,
bool  useDisplayList
 

Constructor.

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

Parameters:
glyph The Freetype glyph to be processed
glyph The Freetype glyph to be processed
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 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 61 of file FTPolyGlyph.cpp.


Member Function Documentation

const FTPoint & 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 67 of file FTPolyGlyph.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:07 2004 for FTGL by doxygen 1.3.6