Commit 891b3bcdbd94913b3ee106830395d9cc15da9163

henry 2002-12-17T03:50:48

Changes in FTVectoriser and FTContour

diff --git a/src/FTOutlineGlyph.cpp b/src/FTOutlineGlyph.cpp
index 13faf28..bf20eca 100644
--- a/src/FTOutlineGlyph.cpp
+++ b/src/FTOutlineGlyph.cpp
@@ -13,8 +13,8 @@ FTOutlineGlyph::FTOutlineGlyph( FT_Glyph glyph)
 
     FTVectoriser* vectoriser = new FTVectoriser( glyph);
 
-    unsigned int numContours = vectoriser->contours();
-    if ( ( numContours < 1) || ( vectoriser->points() < 3))
+    size_t numContours = vectoriser->ContourCount();
+    if ( ( numContours < 1) || ( vectoriser->PointCount() < 3))
     {
         delete vectoriser;
         return;
@@ -27,7 +27,7 @@ FTOutlineGlyph::FTOutlineGlyph( FT_Glyph glyph)
             FTContour* contour = vectoriser->Contour(c);
             
             glBegin( GL_LINE_LOOP);
-                for( unsigned int p = 0; p < contour->Points(); ++p)
+                for( unsigned int p = 0; p < contour->PointCount(); ++p)
                 {
                     glVertex2f( contour->Point(p).x / 64.0f, contour->Point(p).y / 64.0f);
                 }