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

FTOutlineGlyph Class Reference

#include <FTOutlineGlyph.h>

Inheritance diagram for FTOutlineGlyph:

FTGlyph List of all members.

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

virtual ~FTOutlineGlyph ()
 Destructor.

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


Constructor & Destructor Documentation

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


Member Function Documentation

float 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 46 of file FTOutlineGlyph.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