| /AOO41X/main/vcl/source/gdi/ |
| H A D | salgdilayout.cxx | 184 sal_Bool SalGraphics::mirror( sal_uInt32 nPoints, const SalPoint *pPtAry, SalPoint *pPtAry2, const … in mirror() argument 209 pPtAry2[j].mnX = pOutDevRef->GetOutOffXPixel() + (pPtAry[i].mnX - devX); in mirror() 210 pPtAry2[j].mnY = pPtAry[i].mnY; in mirror() 219 pPtAry2[j].mnX = devX + (pPtAry[i].mnX - pOutDevRef->GetOutOffXPixel()); in mirror() 220 pPtAry2[j].mnY = pPtAry[i].mnY; in mirror() 233 …pPtAry2[j].mnX = pPtAry[i].mnX - pOutDevRef->GetOutputWidthPixel() + devX - pOutDevRef->GetOutOffX… in mirror() 234 pPtAry2[j].mnY = pPtAry[i].mnY; in mirror() 243 …pPtAry2[j].mnX = pOutDevRef->GetOutputWidthPixel() - (pPtAry[i].mnX - devX) + pOutDevRef->GetOutOf… in mirror() 244 pPtAry2[j].mnY = pPtAry[i].mnY; in mirror() 253 pPtAry2[j].mnX = w-1-pPtAry[i].mnX; in mirror() [all …]
|
| H A D | outdev5.cxx | 92 const SalPoint* pPtAry = (const SalPoint*) aRoundRectPoly.GetConstPointAry(); in DBG_NAMEEX() local 95 mpGraphics->DrawPolyLine( aRoundRectPoly.GetSize(), pPtAry, this ); in DBG_NAMEEX() 97 mpGraphics->DrawPolygon( aRoundRectPoly.GetSize(), pPtAry, this ); in DBG_NAMEEX() 140 const SalPoint* pPtAry = (const SalPoint*)aRectPoly.GetConstPointAry(); in DrawEllipse() local 142 mpGraphics->DrawPolyLine( aRectPoly.GetSize(), pPtAry, this ); in DrawEllipse() 147 mpGraphics->DrawPolygon( aRectPoly.GetSize(), pPtAry, this ); in DrawEllipse() 194 const SalPoint* pPtAry = (const SalPoint*)aArcPoly.GetConstPointAry(); in DrawArc() local 195 mpGraphics->DrawPolyLine( aArcPoly.GetSize(), pPtAry, this ); in DrawArc() 241 const SalPoint* pPtAry = (const SalPoint*)aPiePoly.GetConstPointAry(); in DrawPie() local 243 mpGraphics->DrawPolyLine( aPiePoly.GetSize(), pPtAry, this ); in DrawPie() [all …]
|
| H A D | outdev.cxx | 1836 const SalPoint* pPtAry = (const SalPoint*)aPoly.GetConstPointAry(); in DrawPolyLine() local 1842 if( !mpGraphics->DrawPolyLineBezier( nPoints, pPtAry, pFlgAry, this ) ) in DrawPolyLine() 1845 pPtAry = (const SalPoint*)aPoly.GetConstPointAry(); in DrawPolyLine() 1846 mpGraphics->DrawPolyLine( aPoly.GetSize(), pPtAry, this ); in DrawPolyLine() 1851 mpGraphics->DrawPolyLine( nPoints, pPtAry, this ); in DrawPolyLine() 2025 const SalPoint* pPtAry = (const SalPoint*)aPoly.GetConstPointAry(); in DrawPolygon() local 2031 if( !mpGraphics->DrawPolygonBezier( nPoints, pPtAry, pFlgAry, this ) ) in DrawPolygon() 2034 pPtAry = (const SalPoint*)aPoly.GetConstPointAry(); in DrawPolygon() 2035 mpGraphics->DrawPolygon( aPoly.GetSize(), pPtAry, this ); in DrawPolygon() 2040 mpGraphics->DrawPolygon( nPoints, pPtAry, this ); in DrawPolygon()
|
| H A D | outdev4.cxx | 91 const SalPoint* pPtAry = (const SalPoint*)rPoly.GetConstPointAry(); in DBG_NAMEEX() local 92 mpGraphics->DrawPolygon( nPoints, pPtAry, this ); in DBG_NAMEEX() 117 const SalPoint* pPtAry = (const SalPoint*)rPoly.GetConstPointAry(); in ImplDrawPolyPolygon() local 118 mpGraphics->DrawPolygon( nSize, pPtAry, this ); in ImplDrawPolyPolygon()
|
| /AOO41X/main/vcl/aqua/source/gdi/ |
| H A D | salgdi.cxx | 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() [all …]
|
| H A D | salgdiutils.cxx | 257 CGPoint* AquaSalGraphics::makeCGptArray(sal_uLong nPoints, const SalPoint* pPtAry) in makeCGptArray() argument 264 CGpoints[i].x = (float)(pPtAry[i].mnX); in makeCGptArray() 265 CGpoints[i].y = (float)(pPtAry[i].mnY); in makeCGptArray()
|
| /AOO41X/main/vcl/inc/ |
| H A D | salgdi.hxx | 120 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) = 0; 121 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) = 0; 122 … drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoints, PCONSTSALPOINT* pPtAry ) = 0; 130 …virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… 131 …virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8… 132 …ier( sal_uInt32 nPoly, const sal_uInt32* pPoints, const SalPoint* const* pPtAry, const sal_uInt8* … 157 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags ) = 0; 356 …sal_Bool mirror( sal_uInt32 nPoints, const SalPoint *pPtAry, SalPoint *pPtAry2,… 373 …void DrawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry, const OutputDevi… 374 …void DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, const OutputDevic… [all …]
|
| /AOO41X/main/vcl/unx/headless/ |
| H A D | svpgdi.cxx | 344 void SvpSalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument 349 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolyLine() 351 aPoly.setB2DPoint( i, B2DPoint( pPtAry[i].mnX, pPtAry[i].mnY ) ); in drawPolyLine() 358 void SvpSalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 363 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolygon() 365 aPoly.setB2DPoint( i, B2DPoint( pPtAry[i].mnX, pPtAry[i].mnY ) ); in drawPolygon() 382 PCONSTSALPOINT* pPtAry ) in drawPolyPolygon() argument 392 PCONSTSALPOINT pPoints = pPtAry[nPolygon]; in drawPolyPolygon() 577 void SvpSalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert /*nFlags*/ ) in invert() argument 581 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in invert() [all …]
|
| H A D | svpgdi.hxx | 130 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ); 131 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); 134 PCONSTSALPOINT* pPtAry ); 136 const SalPoint* pPtAry, 139 const SalPoint* pPtAry, 143 const SalPoint* const* pPtAry, 169 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| H A D | svppspgraphics.hxx | 142 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ); 143 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); 153 PCONSTSALPOINT* pPtAry ); 155 const SalPoint* pPtAry, 158 const SalPoint* pPtAry, 162 const SalPoint* const* pPtAry, 188 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| H A D | svppspgraphics.cxx | 338 void PspGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument 340 m_pPrinterGfx->DrawPolyLine (nPoints, (Point*)pPtAry); in drawPolyLine() 343 void PspGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 346 m_pPrinterGfx->DrawPolygon (nPoints, (Point*)pPtAry); in drawPolygon() 349 …PspGraphics::drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoints, PCONSTSALPOINT* pPtAry ) in drawPolyPolygon() argument 351 m_pPrinterGfx->DrawPolyPolygon (nPoly, pPoints, (const Point**)pPtAry); in drawPolyPolygon() 365 sal_Bool PspGraphics::drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uIn… in drawPolyLineBezier() argument 367 m_pPrinterGfx->DrawPolyLineBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolyLineBezier() 371 sal_Bool PspGraphics::drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… in drawPolygonBezier() argument 373 m_pPrinterGfx->DrawPolygonBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolygonBezier() [all …]
|
| /AOO41X/main/vcl/win/source/gdi/ |
| H A D | salgdi.cxx | 626 const SalPoint* const* pPtAry, in ImplPreparePolyDraw() argument 634 const POINT* pCurrPoint = reinterpret_cast<const POINT*>( *pPtAry++ ); in ImplPreparePolyDraw() 694 void ImplRenderPath( HDC hdc, sal_uLong nPoints, const SalPoint* pPtAry, const BYTE* pFlgAry ) in ImplRenderPath() argument 703 MoveToEx( hdc, pPtAry->mnX, pPtAry->mnY, NULL ); in ImplRenderPath() 704 ++pPtAry; ++pFlgAry; in ImplRenderPath() 706 for( i=1; i<nPoints; ++i, ++pPtAry, ++pFlgAry ) in ImplRenderPath() 710 LineTo( hdc, pPtAry->mnX, pPtAry->mnY ); in ImplRenderPath() 714 PolyBezierTo( hdc, reinterpret_cast<const POINT*>(pPtAry), 3 ); in ImplRenderPath() 715 i += 2; pPtAry += 2; pFlgAry += 2; in ImplRenderPath() 1424 void WinSalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument [all …]
|
| /AOO41X/main/vcl/unx/generic/gdi/ |
| H A D | salgdi.cxx | 846 void X11SalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint *pPtAry ) in drawPolyLine() argument 848 drawPolyLine( nPoints, pPtAry, false ); in drawPolyLine() 852 void X11SalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint *pPtAry, bool bClose ) in drawPolyLine() argument 856 SalPolyLine Points( nPoints, pPtAry ); in drawPolyLine() 863 void X11SalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 873 drawPixel( pPtAry[0].mnX, pPtAry[0].mnY ); in drawPolygon() 875 drawLine( pPtAry[0].mnX, pPtAry[0].mnY, in drawPolygon() 876 pPtAry[1].mnX, pPtAry[1].mnY ); in drawPolygon() 881 SalPolyLine Points( nPoints, pPtAry ); in drawPolygon() 932 PCONSTSALPOINT *pPtAry ) in drawPolyPolygon() argument [all …]
|
| H A D | pspgraphics.cxx | 404 void PspGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint *pPtAry ) in drawPolyLine() argument 406 m_pPrinterGfx->DrawPolyLine (nPoints, (Point*)pPtAry); in drawPolyLine() 409 void PspGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 412 m_pPrinterGfx->DrawPolygon (nPoints, (Point*)pPtAry); in drawPolygon() 417 PCONSTSALPOINT *pPtAry ) in drawPolyPolygon() argument 419 m_pPrinterGfx->DrawPolyPolygon (nPoly, pPoints, (const Point**)pPtAry); in drawPolyPolygon() 439 sal_Bool PspGraphics::drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uIn… in drawPolyLineBezier() argument 441 m_pPrinterGfx->DrawPolyLineBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolyLineBezier() 445 sal_Bool PspGraphics::drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… in drawPolygonBezier() argument 447 m_pPrinterGfx->DrawPolygonBezier (nPoints, (Point*)pPtAry, pFlgAry); in drawPolygonBezier() [all …]
|
| /AOO41X/main/vcl/inc/unx/ |
| H A D | pspgraphics.h | 133 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ); 134 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); 137 PCONSTSALPOINT* pPtAry ); 146 const SalPoint* pPtAry, 149 const SalPoint* pPtAry, 153 const SalPoint* const* pPtAry, 178 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| H A D | salgdi.h | 280 void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry, bool bClose ); 281 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ); 282 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); 285 PCONSTSALPOINT* pPtAry ); 297 const SalPoint* pPtAry, 300 const SalPoint* pPtAry, 304 const SalPoint* const* pPtAry, 331 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| /AOO41X/main/vcl/inc/aqua/ |
| H A D | salgdi.h | 235 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ); 236 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); 237 …void drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoints, PCONSTSALPOINT* pPtAry ); 239 …virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… 240 …virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8… 241 …ier( sal_uInt32 nPoly, const sal_uInt32* pPoints, const SalPoint* const* pPtAry, const sal_uInt8* … 272 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags ); 289 CGPoint* makeCGptArray(sal_uLong nPoints, const SalPoint* pPtAry);
|
| /AOO41X/main/vcl/inc/os2/ |
| H A D | salgdi.h | 165 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ); 166 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); 167 …void drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoints, PCONSTSALPOINT* pPtAry ); 175 …virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… 176 …virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8… 177 …ier( sal_uInt32 nPoly, const sal_uInt32* pPoints, const SalPoint* const* pPtAry, const sal_uInt8* … 202 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| /AOO41X/main/vcl/unx/generic/printergfx/ |
| H A D | common_gfx.cxx | 633 …zier (sal_uInt32 nPoly, const sal_uInt32 * pPoints, const Point* const * pPtAry, const sal_uInt8* … in DrawPolyPolygonBezier() argument 637 if ( !nPoly || !pPtAry || !pPoints || !(maFillColor.Is() || maLineColor.Is())) in DrawPolyPolygonBezier() 645 if( nPoints == 0 || pPtAry[i] == NULL ) in DrawPolyPolygonBezier() 648 …snprintf(pString, nBezString, "%li %li moveto\n", pPtAry[i][0].X(), pPtAry[i][0].Y()); //Move to t… in DrawPolyPolygonBezier() 656 … snprintf(pString, nBezString, "%li %li lineto\n", pPtAry[i][j].X(), pPtAry[i][j].Y()); in DrawPolyPolygonBezier() 667 pPtAry[i][j].X(), pPtAry[i][j].Y(), in DrawPolyPolygonBezier() 668 pPtAry[i][j+1].X(), pPtAry[i][j+1].Y(), in DrawPolyPolygonBezier() 669 pPtAry[i][j+2].X(), pPtAry[i][j+2].Y()); in DrawPolyPolygonBezier()
|
| /AOO41X/main/vcl/inc/win/ |
| H A D | salgdi.h | 193 virtual void drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ); 194 virtual void drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ); 195 …void drawPolyPolygon( sal_uInt32 nPoly, const sal_uInt32* pPoints, PCONSTSALPOINT* pPtAry ); 203 …virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt… 204 …virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, const SalPoint* pPtAry, const sal_uInt8… 205 …ier( sal_uInt32 nPoly, const sal_uInt32* pPoints, const SalPoint* const* pPtAry, const BYTE* const… 230 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| /AOO41X/main/vcl/os2/source/gdi/ |
| H A D | salgdi.cxx | 507 void Os2SalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument 512 const SalPoint* pTempPtAry = pPtAry; in drawPolyLine() 531 void Os2SalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 541 const SalPoint* pTempPtAry = pPtAry; in drawPolygon() 600 PCONSTSALPOINT* pPtAry ) in drawPolyPolygon() argument 608 const SalPoint * pTempPtAry = (const SalPoint*)pPtAry[ i ]; in drawPolyPolygon() 697 sal_Bool Os2SalGraphics::drawPolyLineBezier( sal_uInt32 /*nPoints*/, const SalPoint* pPtAry, const … in drawPolyLineBezier() argument 704 sal_Bool Os2SalGraphics::drawPolygonBezier( sal_uInt32 /*nPoints*/, const SalPoint* pPtAry, const s… in drawPolygonBezier() argument 712 … const SalPoint* const* pPtAry, const sal_uInt8* const* pFlgAry ) in drawPolyPolygonBezier() argument
|
| H A D | salgdi2.cxx | 746 void Os2SalGraphics::invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags ) in invert() argument 762 drawPolyLine( nPoints, pPtAry ); in invert() 782 drawPolygon( nPoints, pPtAry ); in invert()
|
| /AOO41X/main/svtools/source/filter/wmf/ |
| H A D | enhwmf.cxx | 406 Point* pPtAry = new Point[nPointCount]; in ReadEnhWMF() local 411 pPtAry[ j ] = Point( nX32, nY32 ); in ReadEnhWMF() 415 aPolyPoly.Insert(Polygon(nPointCount, pPtAry)); in ReadEnhWMF() 416 delete[] pPtAry; in ReadEnhWMF() 1257 Point* pPtAry = new Point[nPointCount]; in ReadEnhWMF() local 1262 pPtAry[b] = Point( nX16, nY16 ); in ReadEnhWMF() 1266 aPolyPoly.Insert(Polygon(nPointCount, pPtAry)); in ReadEnhWMF() 1267 delete[] pPtAry; in ReadEnhWMF()
|
| H A D | winwmf.cxx | 351 Point* pPtAry = new Point[nPointCount]; in ReadRecordParams() local 355 pPtAry[b] = ReadPoint(); in ReadRecordParams() 358 aPolyPoly.Insert(Polygon(nPointCount, pPtAry)); in ReadRecordParams() 359 delete[] pPtAry; in ReadRecordParams()
|
| /AOO41X/main/vcl/source/window/ |
| H A D | window2.cxx | 502 const SalPoint* pPtAry = (const SalPoint*)aPoly.GetConstPointAry(); in Invert() local 503 mpGraphics->Invert( nPoints, pPtAry, nSalFlags, this ); in Invert() 665 const SalPoint* pPtAry = (const SalPoint*)aPoly.GetConstPointAry(); in InvertTracking() local 666 pGraphics->Invert( nPoints, pPtAry, SAL_INVERT_TRACKFRAME, this ); in InvertTracking()
|