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

FTPolyGlyph Class Reference

#include <FTPolyGlyph.h>

Inheritance diagram for FTPolyGlyph:

FTGlyph List of all members.

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)
 Constructor.

virtual ~FTPolyGlyph ()
 Destructor.

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


Constructor & Destructor Documentation

FTPolyGlyph::FTPolyGlyph FT_GlyphSlot  glyph  ) 
 

Constructor.

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

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 46 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 52 of file FTPolyGlyph.cpp.

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


The documentation for this class was generated from the following files:
Generated on Mon Aug 16 18:47:21 2004 for FTGL by doxygen 1.3.6