Lines Matching refs:nPoints
694 void ImplRenderPath( HDC hdc, sal_uLong nPoints, const SalPoint* pPtAry, const BYTE* pFlgAry ) in ImplRenderPath() argument
696 if( nPoints ) in ImplRenderPath()
706 for( i=1; i<nPoints; ++i, ++pPtAry, ++pFlgAry ) in ImplRenderPath()
712 else if( nPoints - i > 2 ) in ImplRenderPath()
918 const sal_uInt32 nPoints(aPoly.count()); in setClipRegion() local
919 aPolyCounts[a] = nPoints; in setClipRegion()
921 for( sal_uInt32 b = 0; b < nPoints; b++ ) in setClipRegion()
1424 void WinSalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument
1433 if ( !Polyline( getHDC(), pWinPtAry, (int)nPoints ) && (nPoints > MAX_64KSALPOINTS) ) in drawPolyLine()
1439 void WinSalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument
1448 if ( !WIN_Polygon( getHDC(), pWinPtAry, (int)nPoints ) && (nPoints > MAX_64KSALPOINTS) ) in drawPolygon()
1460 UINT nPoints; in drawPolyPolygon() local
1470 nPoints = (UINT)pPoints[i]+1; in drawPolyPolygon()
1471 pWinPointAry[i] = nPoints; in drawPolyPolygon()
1472 nPolyPolyPoints += nPoints; in drawPolyPolygon()
1488 nPoints = pWinPointAry[i]; in drawPolyPolygon()
1490 memcpy( pWinPointAryAry+n, pPolyAry, (nPoints-1)*sizeof(POINT) ); in drawPolyPolygon()
1491 pWinPointAryAry[n+nPoints-1] = pWinPointAryAry[n]; in drawPolyPolygon()
1492 n += nPoints; in drawPolyPolygon()
1527 sal_Bool WinSalGraphics::drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const BYTE… in drawPolyLineBezier() argument
1534 ImplRenderPath( getHDC(), nPoints, pPtAry, pFlgAry ); in drawPolyLineBezier()
1544 sal_Bool WinSalGraphics::drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const BYTE*… in drawPolygonBezier() argument
1555 if( nPoints > SAL_POLY_STACKBUF ) in drawPolygonBezier()
1557 pWinPointAry = new POINT[ nPoints ]; in drawPolygonBezier()
1558 pWinFlagAry = new BYTE[ nPoints ]; in drawPolygonBezier()
1566 ImplPreparePolyDraw(true, 1, &nPoints, &pPtAry, &pFlgAry, pWinPointAry, pWinFlagAry); in drawPolygonBezier()
1572 PolyDraw(getHDC(), pWinPointAry, pWinFlagAry, nPoints); in drawPolygonBezier()