Logo Search packages:      
Sourcecode: blender version File versions

size_t FTVectoriser::PointCount (  ) 

Get the total count of points in this outline

Returns:
the number of points

Definition at line 157 of file FTVectoriser.cpp.

References ContourCount(), contourList, and FTContour::PointCount().

Referenced by FTExtrdGlyph::FTExtrdGlyph(), FTOutlineGlyph::FTOutlineGlyph(), and FTPolyGlyph::FTPolyGlyph().

{
    size_t s = 0;
    for( size_t c = 0; c < ContourCount(); ++c)
    {
        s += contourList[c]->PointCount();
    }
    
    return s;
}


Generated by  Doxygen 1.6.0   Back to index