Lines Matching refs:mpPointAry
83 mpPointAry = (Point*)new char[(sal_uIntPtr)nInitSize*sizeof(Point)]; in ImplPolygon()
84 memset( mpPointAry, 0, (sal_uIntPtr)nInitSize*sizeof(Point) ); in ImplPolygon()
87 mpPointAry = NULL; in ImplPolygon()
92 memset( mpPointAry, 0, nInitSize ); 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()
120 mpPointAry = NULL; in ImplPolygon()
134 mpPointAry = (Point*)new char[(sal_uIntPtr)nInitSize*sizeof(Point)]; in ImplPolygon()
135 memcpy( mpPointAry, pInitAry, (sal_uIntPtr)nInitSize*sizeof( Point ) ); in ImplPolygon()
147 mpPointAry = NULL; in ImplPolygon()
159 if ( mpPointAry ) in ~ImplPolygon()
161 delete[] (char*) mpPointAry; in ~ImplPolygon()
188 if ( mpPointAry ) in ImplSetSize()
189 memcpy( pNewAry, mpPointAry, mnPoints*sizeof(Point) ); in ImplSetSize()
193 if ( mpPointAry ) in ImplSetSize()
194 memcpy( pNewAry, mpPointAry, (sal_uIntPtr)nNewSize*sizeof(Point) ); in ImplSetSize()
201 if ( mpPointAry ) in ImplSetSize()
202 delete[] (char*) mpPointAry; in ImplSetSize()
233 mpPointAry = pNewAry; in ImplSetSize()
257 memcpy( mpPointAry + nPos, pInitPoly->mpPointAry, nSpaceSize ); in ImplSplit()
271 memcpy( pNewAry, mpPointAry, nPos * sizeof( Point ) ); in ImplSplit()
274 memcpy( pNewAry + nPos, pInitPoly->mpPointAry, nSpaceSize ); in ImplSplit()
278 memcpy( pNewAry + nSecPos, mpPointAry + nPos, nRest * sizeof( Point ) ); in ImplSplit()
279 delete[] (char*) mpPointAry; in ImplSplit()
298 mpPointAry = pNewAry; in ImplSplit()
317 memcpy( pNewAry, mpPointAry, nPos * sizeof( Point ) ); in ImplRemove()
318 memcpy( pNewAry + nPos, mpPointAry + nSecPos, nRest * sizeof( Point ) ); in ImplRemove()
320 delete[] (char*) mpPointAry; in ImplRemove()
333 mpPointAry = pNewAry; in ImplRemove()
426 mpImplPolygon->mpPointAry[0] = rRect.TopLeft(); in Polygon()
427 mpImplPolygon->mpPointAry[1] = rRect.TopRight(); in Polygon()
428 mpImplPolygon->mpPointAry[2] = rRect.BottomRight(); in Polygon()
429 mpImplPolygon->mpPointAry[3] = rRect.BottomLeft(); in Polygon()
430 mpImplPolygon->mpPointAry[4] = rRect.TopLeft(); in Polygon()
453 mpImplPolygon->mpPointAry[0] = aRect.TopLeft(); in Polygon()
454 mpImplPolygon->mpPointAry[1] = aRect.TopRight(); in Polygon()
455 mpImplPolygon->mpPointAry[2] = aRect.BottomRight(); in Polygon()
456 mpImplPolygon->mpPointAry[3] = aRect.BottomLeft(); in Polygon()
457 mpImplPolygon->mpPointAry[4] = aRect.TopLeft(); in Polygon()
471 Point* pDstAry = mpImplPolygon->mpPointAry; in Polygon()
526 pPt = &(mpImplPolygon->mpPointAry[i]); in Polygon()
529 pPt = &(mpImplPolygon->mpPointAry[nPoints2-i-1]); in Polygon()
532 pPt = &(mpImplPolygon->mpPointAry[i+nPoints2]); in Polygon()
535 pPt = &(mpImplPolygon->mpPointAry[nPoints-i-1]); in Polygon()
597 mpImplPolygon->mpPointAry[ 0 ] = aCenter2; in Polygon()
598 mpImplPolygon->mpPointAry[ nEnd ] = aCenter2; in Polygon()
609 Point& rPt = mpImplPolygon->mpPointAry[ nStart ]; in Polygon()
616 mpImplPolygon->mpPointAry[ nPoints ] = mpImplPolygon->mpPointAry[ 0 ]; in Polygon()
648 Point& rPt = mpImplPolygon->mpPointAry[ i ]; in Polygon()
683 return (Point*)mpImplPolygon->mpPointAry; in ImplGetPointAry()
702 return (Point*)mpImplPolygon->mpPointAry; in GetConstPointAry()
722 mpImplPolygon->mpPointAry[nPos] = rPt; in SetPoint()
751 return mpImplPolygon->mpPointAry[nPos]; in GetPoint()
806 … ( mpImplPolygon->mnPoints == 5 ) && ( mpImplPolygon->mpPointAry[ 0 ] == mpImplPolygon->mpPointAry… in IsRect()
809 if ( ( mpImplPolygon->mpPointAry[ 0 ].X() == mpImplPolygon->mpPointAry[ 3 ].X() ) && in IsRect()
810 ( mpImplPolygon->mpPointAry[ 0 ].Y() == mpImplPolygon->mpPointAry[ 1 ].Y() ) && in IsRect()
811 ( mpImplPolygon->mpPointAry[ 1 ].X() == mpImplPolygon->mpPointAry[ 2 ].X() ) && in IsRect()
812 ( mpImplPolygon->mpPointAry[ 2 ].Y() == mpImplPolygon->mpPointAry[ 3 ].Y() ) ) in IsRect()
867 const Point& rP1 = mpImplPolygon->mpPointAry[ nP1 ]; in CalcDistance()
868 const Point& rP2 = mpImplPolygon->mpPointAry[ nP2 ]; in CalcDistance()
898 const Point& rFirst = mpImplPolygon->mpPointAry[ 0 ]; in Optimize()
906 while( nSize && ( mpImplPolygon->mpPointAry[ nSize - 1 ] == rFirst ) ) in Optimize()
918 if( ( mpImplPolygon->mpPointAry[ i ] != mpImplPolygon->mpPointAry[ nLast ] ) && in Optimize()
921 aNewPoly[ nNewCount++ ] = mpImplPolygon->mpPointAry[ nLast = i ]; in Optimize()
939 ( mpImplPolygon->mpPointAry[ 0 ] != mpImplPolygon->mpPointAry[ nSize - 1 ] ) ) in Optimize()
942 mpImplPolygon->mpPointAry[ mpImplPolygon->mnPoints - 1 ] = mpImplPolygon->mpPointAry[ 0 ]; in Optimize()
945 ( mpImplPolygon->mpPointAry[ 0 ] == mpImplPolygon->mpPointAry[ nSize - 1 ] ) ) in Optimize()
947 const Point& rFirst = mpImplPolygon->mpPointAry[ 0 ]; in Optimize()
949 while( nSize && ( mpImplPolygon->mpPointAry[ nSize - 1 ] == rFirst ) ) in Optimize()
1069 … mpImplPolygon->mpPointAry[ i ].X(), mpImplPolygon->mpPointAry[ i ].Y(), in AdaptiveSubdivide()
1070 … mpImplPolygon->mpPointAry[ i+1 ].X(), mpImplPolygon->mpPointAry[ i+1 ].Y(), in AdaptiveSubdivide()
1071 … mpImplPolygon->mpPointAry[ i+2 ].X(), mpImplPolygon->mpPointAry[ i+2 ].Y(), in AdaptiveSubdivide()
1072 … mpImplPolygon->mpPointAry[ i+3 ].X(), mpImplPolygon->mpPointAry[ i+3 ].Y() ); in AdaptiveSubdivide()
1078 *aPointIter++ = mpImplPolygon->mpPointAry[ i++ ]; in AdaptiveSubdivide()
1096 ::std::copy(aPoints.begin(), aPoints.end(), rResult.mpImplPolygon->mpPointAry); in AdaptiveSubdivide()
1249 Point* pPt = &(mpImplPolygon->mpPointAry[i]); in Move()
1263 mpImplPolygon->mpPointAry[ i ] += rTrans; in Translate()
1275 Point& rPnt = mpImplPolygon->mpPointAry[i]; in Scale()
1308 Point& rPt = mpImplPolygon->mpPointAry[ i ]; in Rotate()
1326 Point& rPnt = mpImplPolygon->mpPointAry[ i ]; in SlantX()
1343 Point& rPnt = mpImplPolygon->mpPointAry[ i ]; in SlantY()
1382 Point& rPnt = mpImplPolygon->mpPointAry[ i ]; in Distort()
1422 if ( !mnSize || (rPoint != mpPoly->mpPointAry[mnSize-1]) ) in Input()
1427 mpPoly->mpPointAry[mnSize-1] = rPoint; in Input()
1606 aVertFilter.Input( mpImplPolygon->mpPointAry[i] ); in Clip()
1646 const Point* pPt = &(mpImplPolygon->mpPointAry[0]); in GetBoundRect()
1652 pPt = &(mpImplPolygon->mpPointAry[i]); in GetBoundRect()
1690 const Point& rPt = mpImplPolygon->mpPointAry[ i ]; in GetSignedArea()
1691 const Point& rPt1 = mpImplPolygon->mpPointAry[ ++i ]; in GetSignedArea()
1695 const Point& rPt = mpImplPolygon->mpPointAry[ nCount1 ]; in GetSignedArea()
1696 const Point& rPt0 = mpImplPolygon->mpPointAry[ 0 ]; in GetSignedArea()
1717 Point aPt1( mpImplPolygon->mpPointAry[ 0 ] ); in IsInside()
1721 while ( ( aPt1 == mpImplPolygon->mpPointAry[ nCount - 1 ] ) && ( nCount > 3 ) ) in IsInside()
1726 const Point& rPt2 = mpImplPolygon->mpPointAry[ ( i < nCount ) ? i : 0 ]; in IsInside()
1774 mpImplPolygon->mpPointAry[ nPos ] = rPt; in Insert()
1824 return mpImplPolygon->mpPointAry[nPos]; in operator []()
1931 rPoly.mpImplPolygon->mpPointAry[i].X() = nShortX; in operator >>()
1932 rPoly.mpImplPolygon->mpPointAry[i].Y() = nShortY; in operator >>()
1940 rPoly.mpImplPolygon->mpPointAry[i].X() = nLongX; in operator >>()
1941 rPoly.mpImplPolygon->mpPointAry[i].Y() = nLongY; in operator >>()
1961 rIStream >> rPoly.mpImplPolygon->mpPointAry[i].X() in operator >>()
1962 >> rPoly.mpImplPolygon->mpPointAry[i].Y(); in operator >>()
1966 rIStream.Read( rPoly.mpImplPolygon->mpPointAry, nPoints*sizeof(Point) ); in operator >>()
1997 if ( ((rPoly.mpImplPolygon->mpPointAry[nStart].X() >= SHRT_MIN) && in operator <<()
1998 (rPoly.mpImplPolygon->mpPointAry[nStart].X() <= SHRT_MAX)) && in operator <<()
1999 ((rPoly.mpImplPolygon->mpPointAry[nStart].Y() >= SHRT_MIN) && in operator <<()
2000 (rPoly.mpImplPolygon->mpPointAry[nStart].Y() <= SHRT_MAX)) ) in operator <<()
2007 if ( ((rPoly.mpImplPolygon->mpPointAry[nStart].X() >= SHRT_MIN) && in operator <<()
2008 (rPoly.mpImplPolygon->mpPointAry[nStart].X() <= SHRT_MAX)) && in operator <<()
2009 ((rPoly.mpImplPolygon->mpPointAry[nStart].Y() >= SHRT_MIN) && in operator <<()
2010 (rPoly.mpImplPolygon->mpPointAry[nStart].Y() <= SHRT_MAX)) ) in operator <<()
2032 rOStream << (short)rPoly.mpImplPolygon->mpPointAry[nStart].X() in operator <<()
2033 << (short)rPoly.mpImplPolygon->mpPointAry[nStart].Y(); in operator <<()
2040 rOStream << rPoly.mpImplPolygon->mpPointAry[nStart].X() in operator <<()
2041 << rPoly.mpImplPolygon->mpPointAry[nStart].Y(); in operator <<()
2061 rOStream << rPoly.mpImplPolygon->mpPointAry[i].X() in operator <<()
2062 << rPoly.mpImplPolygon->mpPointAry[i].Y(); in operator <<()
2068 rOStream.Write( rPoly.mpImplPolygon->mpPointAry, nPoints*sizeof(Point) ); in operator <<()
2192 const Point aStartPoint(mpImplPolygon->mpPointAry[0]); in getB2DPolygon()
2204 aControlA = mpImplPolygon->mpPointAry[a++]; in getB2DPolygon()
2210 aControlB = mpImplPolygon->mpPointAry[a++]; in getB2DPolygon()
2219 const Point aEndPoint(mpImplPolygon->mpPointAry[a]); in getB2DPolygon()
2257 const Point aPoint(mpImplPolygon->mpPointAry[a]); in getB2DPolygon()
2313 mpImplPolygon->mpPointAry[nStartPointIndex] = aStartPoint; in Polygon()
2326 …mpImplPolygon->mpPointAry[nArrayInsert] = Point(FRound(aBezier.getControlPointA().getX()), FRound(… in Polygon()
2330 …mpImplPolygon->mpPointAry[nArrayInsert] = Point(FRound(aBezier.getControlPointB().getX()), FRound(… in Polygon()
2357 mpImplPolygon->mpPointAry[nArrayInsert] = mpImplPolygon->mpPointAry[0]; in Polygon()
2366 mpImplPolygon->mpPointAry[nArrayInsert] = aEnd; in Polygon()
2399 mpImplPolygon->mpPointAry[nIndex++] = aPoint; in Polygon()
2405 mpImplPolygon->mpPointAry[nIndex] = mpImplPolygon->mpPointAry[0]; in Polygon()