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

FTOutlineGlyph Class Reference

#include <FTOutlineGlyph.h>

Inheritance diagram for FTOutlineGlyph:

FTGlyph

Detailed Description

FTOutlineGlyph is a specialisation of FTGlyph for creating outlines.

See also:
FTGlyphContainer

FTVectoriser

Definition at line 21 of file FTOutlineGlyph.h.

Public Member Functions

 FTOutlineGlyph (FT_GlyphSlot glyph, bool useDisplayList)
 Constructor.

virtual ~FTOutlineGlyph ()
 Destructor.

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


Constructor & Destructor Documentation

FTOutlineGlyph::FTOutlineGlyph 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
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 FTOutlineGlyph.cpp.

References FTVectoriser::Contour(), FTVectoriser::ContourCount(), FTContour::Point(), FTContour::PointCount(), FTVectoriser::PointCount(), FTPoint::X(), and FTPoint::Y().

FTOutlineGlyph::~FTOutlineGlyph  )  [virtual]
 

Destructor.

Definition at line 49 of file FTOutlineGlyph.cpp.


Member Function Documentation

const FTPoint & FTOutlineGlyph::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 55 of file FTOutlineGlyph.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