Lines Matching refs:pPtAry

737 static void getBoundRect( sal_uInt32 nPoints, const SalPoint* pPtAry, long &rX, long& rY, long& rWi…  in getBoundRect()  argument
739 long nX1 = pPtAry->mnX; in getBoundRect()
741 long nY1 = pPtAry->mnY; in getBoundRect()
745 if( pPtAry[n].mnX < nX1 ) in getBoundRect()
746 nX1 = pPtAry[n].mnX; in getBoundRect()
747 else if( pPtAry[n].mnX > nX2 ) in getBoundRect()
748 nX2 = pPtAry[n].mnX; in getBoundRect()
750 if( pPtAry[n].mnY < nY1 ) in getBoundRect()
751 nY1 = pPtAry[n].mnY; in getBoundRect()
752 else if( pPtAry[n].mnY > nY2 ) in getBoundRect()
753 nY2 = pPtAry[n].mnY; in getBoundRect()
767 void AquaSalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument
775 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolyLine()
780 alignLinePoint( pPtAry, fX, fY ); in drawPolyLine()
782 pPtAry++; in drawPolyLine()
783 for( sal_uInt32 nPoint = 1; nPoint < nPoints; ++nPoint, ++pPtAry ) in drawPolyLine()
785 alignLinePoint( pPtAry, fX, fY ); in drawPolyLine()
795 void AquaSalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument
803 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolygon()
820 alignLinePoint( pPtAry, fX, fY ); in drawPolygon()
822 pPtAry++; in drawPolygon()
823 for( sal_uInt32 nPoint = 1; nPoint < nPoints; ++nPoint, ++pPtAry ) in drawPolygon()
825 alignLinePoint( pPtAry, fX, fY ); in drawPolygon()
831 CGContextMoveToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolygon()
832 pPtAry++; in drawPolygon()
833 for( sal_uInt32 nPoint = 1; nPoint < nPoints; ++nPoint, ++pPtAry ) in drawPolygon()
834 CGContextAddLineToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolygon()
893 const SalPoint *pPtAry = ppPtAry[nPoly]; in drawPolyPolygon() local
895 alignLinePoint( pPtAry, fX, fY ); in drawPolyPolygon()
897 pPtAry++; in drawPolyPolygon()
898 for( sal_uInt32 nPoint = 1; nPoint < nPoints; ++nPoint, ++pPtAry ) in drawPolyPolygon()
900 alignLinePoint( pPtAry, fX, fY ); in drawPolyPolygon()
914 const SalPoint *pPtAry = ppPtAry[nPoly]; in drawPolyPolygon() local
915 CGContextMoveToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolyPolygon()
916 pPtAry++; in drawPolyPolygon()
917 for( sal_uInt32 nPoint = 1; nPoint < nPoints; ++nPoint, ++pPtAry ) in drawPolyPolygon()
918 CGContextAddLineToPoint( mrContext, pPtAry->mnX, pPtAry->mnY ); in drawPolyPolygon()
1412 void AquaSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nSalFlags ) in invert() argument
1418 CGpoints = makeCGptArray(nPoints,pPtAry); in invert()