| /AOO42X/main/svx/source/xoutdev/ |
| H A D | _xpoly.cxx | 63 nPoints = 0; in ImpXPolygon() 88 nPoints = 0; in ImpXPolygon() 94 nPoints = rImpXPoly.nPoints; in ImpXPolygon() 129 return nPoints==rImpXPoly.nPoints && in operator ==() 130 (nPoints==0 || in operator ==() 131 (memcmp(pPointAry,rImpXPoly.pPointAry,nPoints*sizeof(Point))==0 && in operator ==() 132 memcmp(pFlagAry,rImpXPoly.pFlagAry,nPoints)==0)); in operator ==() 192 if( nPoints > nSize ) in Resize() 193 nPoints = nSize; in Resize() 216 if ( nPos > nPoints ) in InsertSpace() [all …]
|
| /AOO42X/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 205 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror() 215 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror() 229 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror() 239 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror() 251 for( i=0, j=nPoints-1; i<nPoints; i++,j-- ) in mirror() 352 sal_Int32 nPoints = i_rPoly.count(); in mirror() local 353 for( sal_Int32 i = 0; i < nPoints; i++ ) in mirror() 443 void SalGraphics::DrawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry, const OutputDevice *pOu… in DrawPolyLine() argument 447 SalPoint* pPtAry2 = new SalPoint[nPoints]; in DrawPolyLine() [all …]
|
| H A D | cvtsvm.cxx | 104 sal_uInt16 nPoints = 0; in ImplWritePolyPolyAction() local 108 nPoints = sal::static_int_cast<sal_uInt16>(nPoints + rPolyPoly[ n ].GetSize()); in ImplWritePolyPolyAction() 111 rOStm << (sal_Int32) ( 8 + ( nPoly << 2 ) + ( nPoints << 3 ) ); in ImplWritePolyPolyAction() 1603 const sal_uInt16 nPoints = aChordPoly.GetSize(); in ImplWriteActions() local 1606 rOStm << (sal_Int32) ( 8 + ( nPoints << 3 ) ); in ImplWriteActions() 1607 rOStm << (sal_Int32) nPoints; in ImplWriteActions() 1609 for( sal_uInt16 n = 0; n < nPoints; n++ ) in ImplWriteActions() 1625 const sal_uInt16 nPoints(aSimplePoly.GetSize()); in ImplWriteActions() local 1663 rOStm << (sal_Int32) ( 8 + ( nPoints << 3 ) ); in ImplWriteActions() 1664 rOStm << (sal_Int32) nPoints; in ImplWriteActions() [all …]
|
| /AOO42X/main/vcl/unx/generic/gdi/ |
| H A D | salgdi.cxx | 66 inline SalPolyLine( sal_uLong nPoints ); 67 inline SalPolyLine( sal_uLong nPoints, const SalPoint *p ); 73 inline SalPolyLine::SalPolyLine( sal_uLong nPoints ) in SalPolyLine() argument 74 : pFirst_( nPoints+1 > STATIC_POINTS ? new XPoint[nPoints+1] : Points_ ) in SalPolyLine() 77 inline SalPolyLine::SalPolyLine( sal_uLong nPoints, const SalPoint *p ) in SalPolyLine() argument 78 : pFirst_( nPoints+1 > STATIC_POINTS ? new XPoint[nPoints+1] : Points_ ) in SalPolyLine() 80 for( sal_uLong i = 0; i < nPoints; i++ ) in SalPolyLine() 85 pFirst_[nPoints] = pFirst_[0]; // close polyline in SalPolyLine() 389 void X11SalGraphics::DrawLines( sal_uLong nPoints, in DrawLines() argument 398 if( nMaxLines > nPoints ) nMaxLines = nPoints; in DrawLines() [all …]
|
| /AOO42X/main/tools/source/generic/ |
| H A D | poly.cxx | 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() [all …]
|
| /AOO42X/main/svtools/source/filter/wmf/ |
| H A D | enhwmf.cxx | 247 nW, nH, nPoints, nColor, nIndex, in ReadEnhWMF() local 284 *pWMF >> nPoints; in ReadEnhWMF() 289 nPoints++; in ReadEnhWMF() 291 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() 292 for( ; i < (sal_uInt16)nPoints; i++ ) in ReadEnhWMF() 304 *pWMF >> nPoints; in ReadEnhWMF() 305 Polygon aPoly( (sal_uInt16)nPoints ); in ReadEnhWMF() 306 for( sal_uInt16 k = 0; k < (sal_uInt16)nPoints; k++ ) in ReadEnhWMF() 320 *pWMF >> nPoints; in ReadEnhWMF() 325 nPoints++; in ReadEnhWMF() [all …]
|
| H A D | winwmf.cxx | 321 sal_uInt16 i,nPoints; in ReadRecordParams() local 322 *pWMF >> nPoints; in ReadRecordParams() 323 Polygon aPoly( nPoints ); in ReadRecordParams() 324 for( i = 0; i < nPoints; i++ ) in ReadRecordParams() 370 sal_uInt16 i,nPoints; in ReadRecordParams() local 371 *pWMF >> nPoints; in ReadRecordParams() 372 Polygon aPoly( nPoints ); in ReadRecordParams() 373 for( i = 0; i < nPoints; i++ ) in ReadRecordParams() 1299 sal_uInt16 i,nPoints; in GetPlaceableBound() local 1300 *pStm >> nPoints; in GetPlaceableBound() [all …]
|
| /AOO42X/main/vcl/win/source/gdi/ |
| H A D | salgdi.cxx | 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 [all …]
|
| /AOO42X/main/vcl/unx/headless/ |
| H A D | svpgdi.cxx | 344 void SvpSalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument 346 if( m_bUseLineColor && nPoints ) in drawPolyLine() 349 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolyLine() 350 for( sal_uLong i = 1; i < nPoints; i++ ) in drawPolyLine() 358 void SvpSalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 360 if( ( m_bUseLineColor || m_bUseFillColor ) && nPoints ) in drawPolygon() 363 aPoly.append( B2DPoint( pPtAry->mnX, pPtAry->mnY ), nPoints ); in drawPolygon() 364 for( sal_uLong i = 1; i < nPoints; i++ ) in drawPolygon() 389 sal_uInt32 nPoints = pPointCounts[nPolygon]; in drawPolyPolygon() local 390 if( nPoints ) in drawPolyPolygon() [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 ); 135 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, 138 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, 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 ); 154 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, 157 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, 188 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| /AOO42X/main/filter/source/graphicfilter/icgm/ |
| H A D | class4.cxx | 131 sal_uInt32 nPoints = mnElementSize / ImplGetPointSize(); in ImplDoClass4() local 132 Polygon aPolygon( (sal_uInt16)nPoints ); in ImplDoClass4() 133 for ( sal_uInt16 i = 0; i < nPoints; i++) in ImplDoClass4() 148 sal_uInt16 nPoints = sal::static_int_cast< sal_uInt16 >( in ImplDoClass4() local 150 if ( ! ( nPoints & 1 ) ) in ImplDoClass4() 152 nPoints >>= 1; in ImplDoClass4() 156 Polygon aPolygon( nPoints ); in ImplDoClass4() 157 for ( sal_uInt16 i = 0; i < nPoints; i++ ) in ImplDoClass4() 168 for ( sal_uInt16 i = 0; i < nPoints; i++ ) in ImplDoClass4() 267 sal_uInt16 nPoints = sal::static_int_cast< sal_uInt16 >( in ImplDoClass4() local [all …]
|
| H A D | outact.cxx | 109 sal_uInt16 nPoints = rPolygon.GetSize(); in RegPolyLine() local 110 if ( nPoints ) in RegPolyLine() 114 for ( sal_uInt16 i = 0; i < nPoints; i++ ) in RegPolyLine() 116 mpPoints[ mnIndex + i ] = rPolygon.GetPoint( nPoints - i - 1 ); in RegPolyLine() 117 mpFlags[ mnIndex + i ] = (sal_Int8)rPolygon.GetFlags( nPoints - i - 1 ); in RegPolyLine() 122 for ( sal_uInt16 i = 0; i < nPoints; i++ ) in RegPolyLine() 128 mnIndex = mnIndex + nPoints; in RegPolyLine()
|
| H A D | actimpr.cxx | 678 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolygon() local 680 …if ( ( nPoints > 1 ) && ImplCreateShape( rtl::OUString::createFromAscii("com.sun.star.drawing.Poly… in DrawPolygon() 691 pOuterSequence->realloc((sal_Int32)nPoints); in DrawPolygon() 696 for( sal_uInt16 n = 0; n < nPoints; n++ ) in DrawPolygon() 711 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolyLine() local 713 …if ( ( nPoints > 1 ) && ImplCreateShape( rtl::OUString::createFromAscii("com.sun.star.drawing.Poly… in DrawPolyLine() 724 pOuterSequence->realloc((sal_Int32)nPoints); in DrawPolyLine() 729 for( sal_uInt16 n = 0; n < nPoints; n++ ) in DrawPolyLine() 743 sal_uInt16 nPoints = rPolygon.GetSize(); in DrawPolybezier() local 744 …if ( ( nPoints > 1 ) && ImplCreateShape( rtl::OUString::createFromAscii("com.sun.star.drawing.Open… in DrawPolybezier() [all …]
|
| /AOO42X/main/vcl/unx/generic/printergfx/ |
| H A D | common_gfx.cxx | 412 PrinterGfx::DrawPolyLine (sal_uInt32 nPoints, const Point* pPath) in DrawPolyLine() argument 414 if( maLineColor.Is() && nPoints && pPath ) in DrawPolyLine() 420 PSBinCurrentPath (nPoints, pPath); in DrawPolyLine() 427 PrinterGfx::DrawPolygon (sal_uInt32 nPoints, const Point* pPath) in DrawPolygon() argument 430 if (!(nPoints > 1) || (pPath == NULL) || !(maFillColor.Is() || maLineColor.Is())) in DrawPolygon() 439 for( unsigned int n = 1; n < nPoints; n++ ) in DrawPolygon() 441 if( pPath[0] != pPath[nPoints-1] ) in DrawPolygon() 526 PrinterGfx::DrawPolyLineBezier (sal_uInt32 nPoints, const Point* pPath, const sal_uInt8* pFlgAry) in DrawPolyLineBezier() argument 531 if ( nPoints > 1 && maLineColor.Is() && pPath ) in DrawPolyLineBezier() 543 for (unsigned int i=1; i<nPoints;) in DrawPolyLineBezier() [all …]
|
| /AOO42X/main/filter/source/graphicfilter/idxf/ |
| H A D | dxf2mtf.cxx | 303 sal_uInt16 nPoints,i; in DrawCircleEntity() local 314 nPoints=OptPointsPerCircle; in DrawCircleEntity() 315 Polygon aPoly(nPoints); in DrawCircleEntity() 316 for (i=0; i<nPoints; i++) { in DrawCircleEntity() 317 fAng=2*3.14159265359/(double)(nPoints-1)*(double)i; in DrawCircleEntity() 325 Polygon aPoly2(nPoints); in DrawCircleEntity() 326 for (i=0; i<nPoints; i++) { in DrawCircleEntity() 327 fAng=2*3.14159265359/(double)(nPoints-1)*(double)i; in DrawCircleEntity() 335 for (i=0; i<nPoints-1; i++) pVirDev->DrawLine(aPoly[i],aPoly2[i]); in DrawCircleEntity() 344 sal_uInt16 nPoints,i; in DrawArcEntity() local [all …]
|
| /AOO42X/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; 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… 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… 389 sal_Bool DrawPolyLineBezier( sal_uInt32 nPoints, 393 sal_Bool DrawPolygonBezier( sal_uInt32 nPoints, [all …]
|
| /AOO42X/main/canvas/source/directx/ |
| H A D | dx_impltools.cxx | 193 const sal_uInt32 nPoints( rPoly.count() ); in graphicsPathFromB2DPolygon() local 195 if( nPoints < 2 ) in graphicsPathFromB2DPolygon() 211 rPoints.resize( 3*nPoints + bClosedPolygon ); in graphicsPathFromB2DPolygon() 214 for( sal_uInt32 nCurrPoint=0; nCurrPoint<nPoints; ++nCurrPoint ) in graphicsPathFromB2DPolygon() 224 …onst ::basegfx::B2DPoint& rControlPointB( rPoly.getPrevControlPoint( (nCurrPoint + 1) % nPoints) ); in graphicsPathFromB2DPolygon() 279 rPoints.resize( nPoints ); in graphicsPathFromB2DPolygon() 281 for( sal_uInt32 nCurrPoint=0; nCurrPoint<nPoints; ++nCurrPoint ) in graphicsPathFromB2DPolygon() 288 if(bNoLineJoin && nPoints > 2) in graphicsPathFromB2DPolygon() 290 for(sal_uInt32 a(1); a < nPoints; a++) in graphicsPathFromB2DPolygon() 299 rOutput->AddLine(rPoints[nPoints - 1], rPoints[0]); in graphicsPathFromB2DPolygon() [all …]
|
| /AOO42X/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 743 for( sal_uInt32 n = 1; n < nPoints; ++n ) in getBoundRect() 767 void AquaSalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument 769 if( nPoints < 1 ) in drawPolyLine() 775 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolyLine() 783 for( sal_uInt32 nPoint = 1; nPoint < nPoints; ++nPoint, ++pPtAry ) in drawPolyLine() 795 void AquaSalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 797 if( nPoints <= 1 ) in drawPolygon() 803 getBoundRect( nPoints, pPtAry, nX, nY, nWidth, nHeight ); in drawPolygon() 823 for( sal_uInt32 nPoint = 1; nPoint < nPoints; ++nPoint, ++pPtAry ) in drawPolygon() [all …]
|
| /AOO42X/main/editeng/source/editeng/ |
| H A D | eehtml.cxx | 648 long nPoints = 10; in ImpSetStyleSheet() local 650 nPoints = 22; in ImpSetStyleSheet() 652 nPoints = 16; in ImpSetStyleSheet() 654 nPoints = 12; in ImpSetStyleSheet() 656 nPoints = 11; in ImpSetStyleSheet() 658 nPoints = OutputDevice::LogicToLogic( nPoints, MAP_POINT, eUnit ); in ImpSetStyleSheet() 659 SvxFontHeightItem aHeightItem( nPoints, 100, EE_CHAR_FONTHEIGHT ); in ImpSetStyleSheet()
|
| /AOO42X/main/vcl/inc/unx/ |
| H A D | salgdi.h | 146 void DrawLines( sal_uIntPtr nPoints, 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 ); 296 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, 299 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, 331 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| 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 ); 145 virtual sal_Bool drawPolyLineBezier( sal_uInt32 nPoints, 148 virtual sal_Bool drawPolygonBezier( sal_uInt32 nPoints, 178 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags );
|
| /AOO42X/main/vcl/os2/source/gdi/ |
| H A D | salgdi.cxx | 507 void Os2SalGraphics::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolyLine() argument 510 POINTL* pOS2PtAry = new POINTL[ nPoints ]; in drawPolyLine() 513 sal_uInt32 nTempPoints = nPoints; in drawPolyLine() 525 GpiPolyLine( mhPS, nPoints, pOS2PtAry ); in drawPolyLine() 531 void Os2SalGraphics::drawPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry ) in drawPolygon() argument 536 aPolygon.aPointl = new POINTL[ nPoints ]; in drawPolygon() 537 aPolygon.ulPoints = nPoints; in drawPolygon() 542 sal_uInt32 nTempPoints = nPoints; in drawPolygon() 590 GpiPolyLine( mhPS, nPoints, aPolygon.aPointl ); in drawPolygon()
|
| /AOO42X/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 ); 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… 272 virtual void invert( sal_uInt32 nPoints, const SalPoint* pPtAry, SalInvert nFlags ); 289 CGPoint* makeCGptArray(sal_uLong nPoints, const SalPoint* pPtAry);
|
| /AOO42X/main/slideshow/source/engine/transitions/ |
| H A D | figurewipe.cxx | 101 FigureWipe * FigureWipe::createStarWipe( sal_Int32 nPoints ) in createStarWipe() argument 103 const double v = (M_PI / nPoints); in createStarWipe() 106 for ( sal_Int32 pos = 0; pos < nPoints; ++pos ) { in createStarWipe() 107 const double w = (pos * 2.0 * M_PI / nPoints); in createStarWipe()
|