GlyphPoints::~GlyphPoints()
{
FreeAllocatedMemory();
-#if 0
- if (x)
- delete[] x;
-
- if (y)
- delete[] y;
-
- if (onCurve)
- delete[] onCurve;
-
- if (polyEnd)
- delete[] polyEnd;
-#endif
}
{
uint16_t prevPt = GetPrev(poly, pt);
- return IPoint(GetX(poly, prevPt), GetY(poly, prevPt));
+ return IPoint(GetX(poly, prevPt), GetY(poly, prevPt), GetOnCurve(poly, prevPt));
}
{
uint16_t nextPt = GetNext(poly, pt);
- return IPoint(GetX(poly, nextPt), GetY(poly, nextPt));
+ return IPoint(GetX(poly, nextPt), GetY(poly, nextPt), GetOnCurve(poly, nextPt));
}