#include <FTVectoriser.h>
Definition at line 178 of file FTVectoriser.h.
Public Member Functions | |
FTVectoriser (const FT_GlyphSlot glyph) | |
Constructor. | |
virtual | ~FTVectoriser () |
Destructor. | |
void | MakeMesh (FTGL_DOUBLE zNormal=FTGL_FRONT_FACING) |
Build an FTMesh from the vector outline data. | |
const FTMesh *const | GetMesh () const |
Get the current mesh. | |
size_t | PointCount () |
Get the total count of points in this outline. | |
size_t | ContourCount () const |
Get the count of contours in this outline. | |
const FTContour *const | Contour (unsigned int index) const |
Return a contour at index. | |
size_t | ContourSize (int c) const |
Get the number of points in a specific contour in this outline. | |
int | ContourFlag () const |
Get the flag for the tesselation rule for this outline. |
|
Constructor.
Definition at line 101 of file FTVectoriser.cpp. |
|
Destructor.
Definition at line 120 of file FTVectoriser.cpp. References ContourCount(). |
|
Return a contour at index.
Definition at line 169 of file FTVectoriser.cpp. References ContourCount(). Referenced by FTExtrdGlyph::FTExtrdGlyph(), and FTOutlineGlyph::FTOutlineGlyph(). |
|
Get the count of contours in this outline.
Definition at line 218 of file FTVectoriser.h. Referenced by Contour(), FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), FTPolyGlyph::FTPolyGlyph(), MakeMesh(), PointCount(), and ~FTVectoriser(). |
|
Get the flag for the tesselation rule for this outline.
Definition at line 240 of file FTVectoriser.h. Referenced by FTExtrdGlyph::FTExtrdGlyph(). |
|
Get the number of points in a specific contour in this outline.
Definition at line 233 of file FTVectoriser.h. |
|
Get the current mesh.
Definition at line 204 of file FTVectoriser.h. Referenced by FTExtrdGlyph::FTExtrdGlyph(), and FTPolyGlyph::FTPolyGlyph(). |
|
Build an FTMesh from the vector outline data.
Definition at line 175 of file FTVectoriser.cpp. References ContourCount(), FTGL_DOUBLE, ftglBegin(), ftglCombine(), ftglEnd(), ftglError(), ftglVertex(), FTContour::Point(), and FTContour::PointCount(). Referenced by FTExtrdGlyph::FTExtrdGlyph(), and FTPolyGlyph::FTPolyGlyph(). |
|
Get the total count of points in this outline.
Definition at line 157 of file FTVectoriser.cpp. References ContourCount(), and FTContour::PointCount(). Referenced by FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), and FTPolyGlyph::FTPolyGlyph(). |