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

FTContour Class Reference

#include <FTContour.h>


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.

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.


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< FT_VECTOR_ITEM_TYPE >::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 Sun Dec 5 22:24:06 2004 for FTGL by doxygen 1.3.6