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

FTContour Class Reference

FTContour class is a container of points that describe a vector font outline. More...

#include <FTContour.h>

List of all members.

Public Member Functions

 FTContour (FT_Vector *contour, char *pointTags, unsigned int numberOfPoints)
 Constructor.

 ~FTContour ()
 Destructor.

const FTPointPoint (unsigned int index) const
 Return a point at index.

size_t PointCount () const
 How many points define this contour.


Detailed Description

FTContour class is a container of points that describe a vector font outline.

It is used as a container for the output of the bezier curve evaluator in FTVectoriser.

See also:
FTOutlineGlyph

FTPolyGlyph

FTPoint

Definition at line 18 of file FTContour.h.


Constructor & Destructor Documentation

FTContour::FTContour FT_Vector *  contour,
char *  pointTags,
unsigned int  numberOfPoints
 

Constructor.

Parameters:
contour 
pointTags 
numberOfPoints 

Definition at line 73 of file FTContour.cpp.

References FTVector< FTPoint >::size(), FTPoint::x, and FTPoint::y.

FTContour::~FTContour  )  [inline]
 

Destructor.

Definition at line 33 of file FTContour.h.


Member Function Documentation

const FTPoint& FTContour::Point unsigned int  index  )  const [inline]
 

Return a point at index.

Parameters:
index of the point in the curve.
Returns:
const point reference

Definition at line 44 of file FTContour.h.

Referenced by FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), and FTVectoriser::MakeMesh().

size_t FTContour::PointCount  )  const [inline]
 

How many points define this contour.

Returns:
the number of points in this contour

Definition at line 51 of file FTContour.h.

Referenced by FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), FTVectoriser::MakeMesh(), and FTVectoriser::PointCount().


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 15:16:39 2003 for FTGL by doxygen 1.3.3