Lines Matching refs:mnPoints
98 mnPoints = nInitSize; in ImplPolygon()
105 if ( rImpPoly.mnPoints ) in ImplPolygon()
107 mpPointAry = (Point*)new char[(sal_uIntPtr)rImpPoly.mnPoints*sizeof(Point)]; in ImplPolygon()
108 memcpy( mpPointAry, rImpPoly.mpPointAry, (sal_uIntPtr)rImpPoly.mnPoints*sizeof(Point) ); in ImplPolygon()
112 mpFlagAry = new sal_uInt8[ rImpPoly.mnPoints ]; in ImplPolygon()
113 memcpy( mpFlagAry, rImpPoly.mpFlagAry, rImpPoly.mnPoints ); in ImplPolygon()
125 mnPoints = rImpPoly.mnPoints; in ImplPolygon()
152 mnPoints = nInitSize; in ImplPolygon()
172 if( mnPoints == nNewSize ) in ImplSetSize()
184 if ( mnPoints < nNewSize ) in ImplSetSize()
187 memset( pNewAry+mnPoints, 0, (sal_uIntPtr)(nNewSize-mnPoints)*sizeof(Point) ); in ImplSetSize()
189 memcpy( pNewAry, mpPointAry, mnPoints*sizeof(Point) ); in ImplSetSize()
216 if ( mnPoints < nNewSize ) in ImplSetSize()
219 memset( pNewFlagAry+mnPoints, 0, nNewSize-mnPoints ); in ImplSetSize()
220 memcpy( pNewFlagAry, mpFlagAry, mnPoints ); in ImplSetSize()
234 mnPoints = nNewSize; in ImplSetSize()
244 if (mnPoints + nSpace > USHRT_MAX) in ImplSplit()
247 const sal_uInt16 nNewSize = mnPoints + nSpace; in ImplSplit()
249 if( nPos >= mnPoints ) in ImplSplit()
252 nPos = mnPoints; in ImplSplit()
267 const sal_uInt16 nRest = mnPoints - nPos; in ImplSplit()
299 mnPoints = nNewSize; in ImplSplit()
307 const sal_uInt16 nRemoveCount = Min( (sal_uInt16) ( mnPoints - nPos ), (sal_uInt16) nCount ); in ImplRemove()
311 const sal_uInt16 nNewSize = mnPoints - nRemoveCount; in ImplRemove()
313 const sal_uInt16 nRest = mnPoints - nSecPos; in ImplRemove()
334 mnPoints = nNewSize; in ImplRemove()
344 mpFlagAry = new sal_uInt8[ mnPoints ]; in ImplCreateFlagArray()
345 memset( mpFlagAry, 0, mnPoints ); in ImplCreateFlagArray()
718 DBG_ASSERT( nPos < mpImplPolygon->mnPoints, in SetPoint()
730 DBG_ASSERT( nPos < mpImplPolygon->mnPoints, in SetFlags()
748 DBG_ASSERT( nPos < mpImplPolygon->mnPoints, in GetPoint()
759 DBG_ASSERT( nPos < mpImplPolygon->mnPoints, in GetFlags()
778 DBG_ASSERT( nPos < mpImplPolygon->mnPoints, in IsControl()
791 DBG_ASSERT( nPos < mpImplPolygon->mnPoints, in IsSmooth()
806 …if ( ( ( mpImplPolygon->mnPoints == 5 ) && ( mpImplPolygon->mpPointAry[ 0 ] == mpImplPolygon->mpPo… in IsRect()
807 ( mpImplPolygon->mnPoints == 4 ) ) in IsRect()
825 if( nNewSize != mpImplPolygon->mnPoints ) in SetSize()
838 return mpImplPolygon->mnPoints; in GetSize()
862 DBG_ASSERT( nP1 < mpImplPolygon->mnPoints, in CalcDistance()
864 DBG_ASSERT( nP2 < mpImplPolygon->mnPoints, in CalcDistance()
882 sal_uInt16 nSize = mpImplPolygon->mnPoints; in Optimize()
934 nSize = mpImplPolygon->mnPoints; in Optimize()
941 SetSize( mpImplPolygon->mnPoints + 1 ); in Optimize()
942 mpImplPolygon->mpPointAry[ mpImplPolygon->mnPoints - 1 ] = mpImplPolygon->mpPointAry[ 0 ]; in Optimize()
1246 sal_uInt16 nCount = mpImplPolygon->mnPoints; in Move()
1262 for ( sal_uInt16 i = 0, nCount = mpImplPolygon->mnPoints; i < nCount; i++ ) in Translate()
1273 for ( sal_uInt16 i = 0, nCount = mpImplPolygon->mnPoints; i < nCount; i++ ) in Scale()
1306 for( sal_uInt16 i = 0, nCount = mpImplPolygon->mnPoints; i < nCount; i++ ) in Rotate()
1324 for( sal_uInt16 i = 0, nCount = mpImplPolygon->mnPoints; i < nCount; i++ ) in SlantX()
1341 for( sal_uInt16 i = 0, nCount = mpImplPolygon->mnPoints; i < nCount; i++ ) in SlantY()
1369 DBG_ASSERT( rDistortedRect.mpImplPolygon->mnPoints >= 4, "Distort rect too small!" ); in Distort()
1380 for( sal_uInt16 i = 0, nCount = mpImplPolygon->mnPoints; i < nCount; i++ ) in Distort()
1425 if ( mnSize > mpPoly->mnPoints ) in Input()
1433 if ( mnSize < mpPoly->mnPoints ) in LastPoint()
1598 sal_uInt16 nSourceSize = mpImplPolygon->mnPoints; in Clip()
1640 sal_uInt16 nCount = mpImplPolygon->mnPoints; in GetBoundRect()
1684 if( mpImplPolygon->mnPoints > 2 ) in GetSignedArea()
1686 const sal_uInt16 nCount1 = mpImplPolygon->mnPoints - 1; in GetSignedArea()
1712 sal_uInt16 nCount = mpImplPolygon->mnPoints; in IsInside()
1770 if( nPos >= mpImplPolygon->mnPoints ) in Insert()
1771 nPos = mpImplPolygon->mnPoints; in Insert()
1788 const sal_uInt16 nInsertCount = rPoly.mpImplPolygon->mnPoints; in Insert()
1794 if( nPos >= mpImplPolygon->mnPoints ) in Insert()
1795 nPos = mpImplPolygon->mnPoints; in Insert()
1809 if( nCount && ( nPos < mpImplPolygon->mnPoints ) ) in Remove()
1821 DBG_ASSERT( nPos < mpImplPolygon->mnPoints, "Polygon::[]: nPos >= nPoints" ); in operator []()
2086 mpImplPolygon->mpFlagAry = new sal_uInt8[ mpImplPolygon->mnPoints ]; in ImplRead()
2087 rIStream.Read( mpImplPolygon->mpFlagAry, mpImplPolygon->mnPoints ); in ImplRead()
2109 rOStream.Write( mpImplPolygon->mpFlagAry, mpImplPolygon->mnPoints ); in ImplWrite()
2185 const sal_uInt16 nCount(mpImplPolygon->mnPoints); in getB2DPolygon()