Lines Matching refs:nPoints
122 void CFX_PathData::SetPointCount(int nPoints) {
123 m_PointCount = nPoints;
124 if (m_AllocCount < nPoints) {
126 m_pPoints = FX_Alloc(FX_PATHPOINT, nPoints);
127 m_AllocCount = nPoints;
130 void CFX_PathData::AllocPointCount(int nPoints) {
131 if (m_AllocCount < nPoints) {
132 FX_PATHPOINT* pNewBuf = FX_Alloc(FX_PATHPOINT, nPoints);
138 m_AllocCount = nPoints;
146 void CFX_PathData::TrimPoints(int nPoints) {
147 if (m_PointCount <= nPoints) {
150 SetPointCount(nPoints);