Lines Matching refs:nPoints

392 Polygon::Polygon( sal_uInt16 nPoints, const Point* pPtAry, const sal_uInt8* pFlagAry )  in Polygon()  argument
396 if( nPoints ) in Polygon()
397 mpImplPolygon = new ImplPolygon( nPoints, pPtAry, pFlagAry ); in Polygon()
493 Polygon::Polygon( const Point& rCenter, long nRadX, long nRadY, sal_uInt16 nPoints ) in Polygon() argument
500 if( !nPoints ) in Polygon()
502 nPoints = (sal_uInt16) ( F_PI * ( 1.5 * ( nRadX + nRadY ) - in Polygon()
505 nPoints = (sal_uInt16) MinMax( nPoints, 32, 256 ); in Polygon()
508 nPoints >>= 1; in Polygon()
512 mpImplPolygon = new ImplPolygon( nPoints = (nPoints + 3) & ~3 ); in Polygon()
516 sal_uInt16 nPoints2 = nPoints >> 1; in Polygon()
517 sal_uInt16 nPoints4 = nPoints >> 2; in Polygon()
535 pPt = &(mpImplPolygon->mpPointAry[nPoints-i-1]); in Polygon()
559 sal_uInt16 nPoints; in Polygon() local
561 nPoints = (sal_uInt16) ( F_PI * ( 1.5 * ( nRadX + nRadY ) - in Polygon()
564 nPoints = (sal_uInt16) MinMax( nPoints, 32, 256 ); in Polygon()
567 nPoints >>= 1; in Polygon()
587 nPoints = Max( (sal_uInt16) ( ( fDiff * 0.1591549 ) * nPoints ), (sal_uInt16) 16 ); in Polygon()
588 fStep = fDiff / ( nPoints - 1 ); in Polygon()
595 nEnd = nPoints + 1; in Polygon()
596 mpImplPolygon = new ImplPolygon( nPoints + 2 ); in Polygon()
602 mpImplPolygon = new ImplPolygon( ( POLY_CHORD == eStyle ) ? ( nPoints + 1 ) : nPoints ); in Polygon()
604 nEnd = nPoints; in Polygon()
616 mpImplPolygon->mpPointAry[ nPoints ] = mpImplPolygon->mpPointAry[ 0 ]; in Polygon()
626 sal_uInt16 nPoints ) in Polygon() argument
630 nPoints = ( 0 == nPoints ) ? 25 : ( ( nPoints < 2 ) ? 2 : nPoints ); in Polygon()
632 const double fInc = 1.0 / ( nPoints - 1 ); in Polygon()
644 mpImplPolygon = new ImplPolygon( nPoints ); in Polygon()
646 for( sal_uInt16 i = 0; i < nPoints; i++, fK_1 += fInc, fK1_1 -= fInc ) in Polygon()
1900 sal_uInt16 nPoints; in operator >>() local
1908 rIStream >> nPoints; in operator >>()
1913 rPoly.mpImplPolygon = new ImplPolygon( nPoints ); in operator >>()
1916 rPoly.mpImplPolygon->ImplSetSize( nPoints, sal_False ); in operator >>()
1922 while ( i < nPoints ) in operator >>()
1959 for( i = 0; i < nPoints; i++ ) in operator >>()
1966 rIStream.Read( rPoly.mpImplPolygon->mpPointAry, nPoints*sizeof(Point) ); in operator >>()
1983 sal_uInt16 nPoints = rPoly.GetSize(); in operator <<() local
1986 rOStream << nPoints; in operator <<()
1992 while ( i < nPoints ) in operator <<()
2004 while ( i < nPoints ) in operator <<()
2059 for( i = 0; i < nPoints; i++ ) in operator <<()
2067 if ( nPoints ) in operator <<()
2068 rOStream.Write( rPoly.mpImplPolygon->mpPointAry, nPoints*sizeof(Point) ); in operator <<()