Lines Matching refs:nSize
61 nSize = 0; in ImpXPolygon()
86 nSize = 0; in ImpXPolygon()
91 Resize( rImpXPoly.nSize ); in ImpXPolygon()
95 memcpy( pPointAry, rImpXPoly.pPointAry, nSize*sizeof( Point ) ); in ImpXPolygon()
96 memcpy( pFlagAry, rImpXPoly.pFlagAry, nSize ); in ImpXPolygon()
153 if( nNewSize == nSize ) in Resize()
157 sal_uInt16 nOldSize = nSize; in Resize()
164 if ( nSize != 0 && nNewSize > nSize ) in Resize()
167 nNewSize = nSize + ((nNewSize-nSize-1) / nResize + 1) * nResize; in Resize()
170 nSize = nNewSize; in Resize()
171 pPointAry = (Point*)new char[ nSize*sizeof( Point ) ]; in Resize()
172 memset( pPointAry, 0, nSize*sizeof( Point ) ); in Resize()
175 pFlagAry = new sal_uInt8[ nSize ]; in Resize()
176 memset( pFlagAry, 0, nSize ); in Resize()
181 if( nOldSize < nSize ) in Resize()
188 memcpy( pPointAry, pOldPointAry, nSize*sizeof( Point ) ); in Resize()
189 memcpy( pFlagAry, pOldFlagAry, nSize ); in Resize()
192 if( nPoints > nSize ) in Resize()
193 nPoints = nSize; in Resize()
220 if( (nPoints + nCount) > nSize ) in InsertSpace()
280 XPolygon::XPolygon( sal_uInt16 nSize, sal_uInt16 nResize ) in XPolygon() argument
283 pImpXPolygon = new ImpXPolygon( nSize, nResize ); in XPolygon()
317 sal_uInt16 nSize = rPoly.GetSize(); in XPolygon() local
318 pImpXPolygon = new ImpXPolygon( nSize ); in XPolygon()
319 pImpXPolygon->nPoints = nSize; in XPolygon()
321 for( sal_uInt16 i = 0; i < nSize; i++ ) in XPolygon()
516 return pImpXPolygon->nSize; in GetSize()
534 if( pImpXPolygon->nSize < nPoints ) in SetPointCount()
539 sal_uInt16 nSize = pImpXPolygon->nPoints - nPoints; in SetPointCount() local
540 memset( &pImpXPolygon->pPointAry[nPoints], 0, nSize * sizeof( Point ) ); in SetPointCount()
541 memset( &pImpXPolygon->pFlagAry [nPoints], 0, nSize ); in SetPointCount()
742 if( nPos >= pImpXPolygon->nSize ) in operator []()
1486 sal_uInt16 nSize = aSource.GetSize(); in XPolygon() local
1487 pImpXPolygon = new ImpXPolygon( nSize ); in XPolygon()
1488 pImpXPolygon->nPoints = nSize; in XPolygon()
1490 for( sal_uInt16 i = 0; i < nSize; i++ ) in XPolygon()