Lines Matching refs:nPoints
63 nPoints = 0; in ImpXPolygon()
88 nPoints = 0; in ImpXPolygon()
94 nPoints = rImpXPoly.nPoints; in ImpXPolygon()
129 return nPoints==rImpXPoly.nPoints && in operator ==()
130 (nPoints==0 || in operator ==()
131 (memcmp(pPointAry,rImpXPoly.pPointAry,nPoints*sizeof(Point))==0 && in operator ==()
132 memcmp(pFlagAry,rImpXPoly.pFlagAry,nPoints)==0)); in operator ==()
192 if( nPoints > nSize ) in Resize()
193 nPoints = nSize; in Resize()
216 if ( nPos > nPoints ) in InsertSpace()
217 nPos = nPoints; in InsertSpace()
220 if( (nPoints + nCount) > nSize ) in InsertSpace()
221 Resize( nPoints + nCount ); in InsertSpace()
225 if( nPos < nPoints ) in InsertSpace()
227 sal_uInt16 nMove = nPoints - nPos; in InsertSpace()
235 nPoints = nPoints + nCount; in InsertSpace()
253 if( (nPos + nCount) <= nPoints ) in Remove()
255 sal_uInt16 nMove = nPoints - nPos - nCount; in Remove()
263 memset( &pPointAry[nPoints - nCount], 0, nCount * sizeof( Point ) ); in Remove()
264 memset( &pFlagAry [nPoints - nCount], 0, nCount ); in Remove()
265 nPoints = nPoints - nCount; in Remove()
319 pImpXPolygon->nPoints = nSize; in XPolygon()
395 pImpXPolygon->nPoints = nPos + 1; in XPolygon()
446 pImpXPolygon->nPoints = nPos + 1; in XPolygon()
529 void XPolygon::SetPointCount( sal_uInt16 nPoints ) in SetPointCount() argument
534 if( pImpXPolygon->nSize < nPoints ) in SetPointCount()
535 pImpXPolygon->Resize( nPoints ); in SetPointCount()
537 if ( nPoints < pImpXPolygon->nPoints ) in SetPointCount()
539 sal_uInt16 nSize = pImpXPolygon->nPoints - nPoints; in SetPointCount()
540 memset( &pImpXPolygon->pPointAry[nPoints], 0, nSize * sizeof( Point ) ); in SetPointCount()
541 memset( &pImpXPolygon->pFlagAry [nPoints], 0, nSize ); in SetPointCount()
543 pImpXPolygon->nPoints = nPoints; in SetPointCount()
559 return pImpXPolygon->nPoints; in GetPointCount()
575 if (nPos>pImpXPolygon->nPoints) nPos=pImpXPolygon->nPoints; in Insert()
594 if (nPos>pImpXPolygon->nPoints) nPos=pImpXPolygon->nPoints; in Insert()
596 sal_uInt16 nPoints = rXPoly.GetPointCount(); in Insert() local
598 pImpXPolygon->InsertSpace( nPos, nPoints ); in Insert()
602 nPoints*sizeof( Point ) ); in Insert()
605 nPoints ); in Insert()
621 if (nPos>pImpXPolygon->nPoints) nPos=pImpXPolygon->nPoints; in Insert()
623 sal_uInt16 nPoints = rPoly.GetSize(); in Insert() local
625 pImpXPolygon->InsertSpace( nPos, nPoints ); in Insert()
628 for( i=0; i < nPoints; i++ ) in Insert()
668 sal_uInt16 nCount = pImpXPolygon->nPoints; in Move()
692 if(pImpXPolygon->nPoints) in GetBoundRect()
721 DBG_ASSERT(nPos < pImpXPolygon->nPoints, "Ungueltiger Index bei const-Arrayzugriff auf XPolygon"); in operator []()
747 if( nPos >= pImpXPolygon->nPoints ) in operator []()
748 pImpXPolygon->nPoints = nPos + 1; in operator []()
1126 if ( nFirst > pImpXPolygon->nPoints - 4 || IsControl(nFirst) || in PointsToBezier()
1201 sal_uInt16 nPntCnt = pImpXPolygon->nPoints; in Translate()
1230 sal_uInt16 nPntCnt = pImpXPolygon->nPoints; in Rotate()
1297 sal_uInt16 nPntCnt = pImpXPolygon->nPoints; in Scale()
1323 sal_uInt16 nPntCnt = pImpXPolygon->nPoints; in SlantX()
1350 sal_uInt16 nPntCnt = pImpXPolygon->nPoints; in SlantY()
1394 DBG_ASSERT(rDistortedRect.pImpXPolygon->nPoints >= 4, in Distort()
1406 sal_uInt16 nPntCnt = pImpXPolygon->nPoints; in Distort()
1439 long nPntCnt = pImpXPolygon->nPoints; in Rotate20()
1442 for (long nPoints = 1; in Rotate20() local
1443 nPoints < nPntCnt; in Rotate20()
1444 nPoints ++) in Rotate20()
1446 Point &rPnt = pImpXPolygon->pPointAry[nPoints]; in Rotate20()
1453 nIndex0 = nPoints; in Rotate20()
1488 pImpXPolygon->nPoints = nSize; in XPolygon()