| /trunk/main/svx/source/svdraw/ |
| H A D | svdtrans.cxx | 34 void MoveXPoly(XPolygon& rPoly, const Size& S) in MoveXPoly() argument 36 rPoly.Move(S.Width(),S.Height()); in MoveXPoly() 39 void MoveXPoly(XPolyPolygon& rPoly, const Size& S) in MoveXPoly() argument 41 rPoly.Move(S.Width(),S.Height()); in MoveXPoly() 86 void ResizePoly(Polygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact) in ResizePoly() argument 88 sal_uInt16 nAnz=rPoly.GetSize(); in ResizePoly() 90 ResizePoint(rPoly[i],rRef,xFact,yFact); in ResizePoly() 94 void ResizeXPoly(XPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact) in ResizeXPoly() argument 96 sal_uInt16 nAnz=rPoly.GetPointCount(); in ResizeXPoly() 98 ResizePoint(rPoly[i],rRef,xFact,yFact); in ResizeXPoly() [all …]
|
| H A D | svdocapt.cxx | 465 void SdrCaptionObj::ImpCalcTail1(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail1() argument 468 Point aTl(rPoly[0]); in ImpCalcTail1() 488 rPoly = aPol; in ImpCalcTail1() 491 void SdrCaptionObj::ImpCalcTail2(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail2() argument 494 Point aTl(rPoly[0]); in ImpCalcTail2() 505 rPoly=aPol; in ImpCalcTail2() 508 void SdrCaptionObj::ImpCalcTail3(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail3() argument 511 Point aTl(rPoly[0]); in ImpCalcTail3() 538 rPoly=aPol; in ImpCalcTail3() 541 void SdrCaptionObj::ImpCalcTail4(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) const in ImpCalcTail4() argument [all …]
|
| /trunk/main/svx/inc/svx/ |
| H A D | svdtrans.hxx | 58 inline void MovePoly(Polygon& rPoly, const Size& S) { rPoly.Move(S.Width(),S.Height()); } in MovePoly() argument 59 inline void MovePoly(PolyPolygon& rPoly, const Size& S) { rPoly.Move(S.Width(),S.Height()); } in MovePoly() argument 60 void MoveXPoly(XPolygon& rPoly, const Size& S); 61 void MoveXPoly(XPolyPolygon& rPoly, const Size& S); 65 void ResizePoly(Polygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact); 66 void ResizeXPoly(XPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact); 67 void ResizePoly(PolyPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFact… 68 void ResizeXPoly(XPolyPolygon& rPoly, const Point& rRef, const Fraction& xFact, const Fraction& yFa… 71 SVX_DLLPUBLIC void RotatePoly(Polygon& rPoly, const Point& rRef, double sn, double cs); 72 void RotateXPoly(XPolygon& rPoly, const Point& rRef, double sn, double cs); [all …]
|
| /trunk/main/tools/source/generic/ |
| H A D | poly.cxx | 404 Polygon::Polygon( const Polygon& rPoly ) in Polygon() argument 407 DBG_CHKOBJ( &rPoly, Polygon, NULL ); in Polygon() 408 DBG_ASSERT( rPoly.mpImplPolygon->mnRefCount < 0xFFFFFFFE, "Polygon: RefCount overflow" ); in Polygon() 410 mpImplPolygon = rPoly.mpImplPolygon; in Polygon() 1134 void Polygon::ImplReduceEdges( Polygon& rPoly, const double& rArea, sal_uInt16 nPercent ) in ImplReduceEdges() argument 1141 sal_uInt16 nPntCnt = rPoly.GetSize(), nNewPos = 0; in ImplReduceEdges() 1155 Vector2D aVec1( rPoly[ nIndPrev ] ); aVec1 -= rPoly[ nIndPrevPrev ]; in ImplReduceEdges() 1156 Vector2D aVec2( rPoly[ n ] ); aVec2 -= rPoly[ nIndPrev ]; in ImplReduceEdges() 1157 Vector2D aVec3( rPoly[ nIndNext ] ); aVec3 -= rPoly[ n ]; in ImplReduceEdges() 1158 Vector2D aVec4( rPoly[ nIndNextNext ] ); aVec4 -= rPoly[ nIndNext ]; in ImplReduceEdges() [all …]
|
| /trunk/main/basegfx/source/tools/ |
| H A D | b2dclipstate.cxx | 61 explicit ImplB2DClipState( const B2DPolygon& rPoly ) : in ImplB2DClipState() 64 maClipPoly(rPoly), in ImplB2DClipState() 68 explicit ImplB2DClipState( const B2DPolyPolygon& rPoly ) : in ImplB2DClipState() 71 maClipPoly(rPoly), in ImplB2DClipState() 183 void unionPolygon(const B2DPolygon& rPoly) in unionPolygon() 188 addPolygon(rPoly,UNION); in unionPolygon() 215 void intersectPolygon(const B2DPolygon& rPoly) in intersectPolygon() 220 addPolygon(rPoly,INTERSECT); in intersectPolygon() 247 void subtractPolygon(const B2DPolygon& rPoly) in subtractPolygon() 252 addPolygon(rPoly,SUBTRACT); in subtractPolygon() [all …]
|
| H A D | canvastools.cxx | 67 …e< geometry::RealBezierSegment2D > bezierSequenceFromB2DPolygon(const ::basegfx::B2DPolygon& rPoly) in bezierSequenceFromB2DPolygon() argument 69 const sal_uInt32 nPointCount(rPoly.count()); in bezierSequenceFromB2DPolygon() 76 const basegfx::B2DPoint aStart(rPoly.getB2DPoint(a)); in bezierSequenceFromB2DPolygon() 77 const basegfx::B2DPoint aControlA(rPoly.getNextControlPoint(a)); in bezierSequenceFromB2DPolygon() 78 … const basegfx::B2DPoint aControlB(rPoly.getPrevControlPoint((a + 1) % nPointCount)); in bezierSequenceFromB2DPolygon() 89 …Sequence< geometry::RealPoint2D > pointSequenceFromB2DPolygon( const ::basegfx::B2DPolygon& rPoly ) in pointSequenceFromB2DPolygon() argument 91 const sal_uInt32 nNumPoints( rPoly.count() ); in pointSequenceFromB2DPolygon() 100 const ::basegfx::B2DPoint aPoint( rPoly.getB2DPoint(i) ); in pointSequenceFromB2DPolygon() 149 … const ::basegfx::B2DPolygon& rPoly ) in xPolyPolygonFromB2DPolygon() 156 if( rPoly.areControlPointsUsed() ) in xPolyPolygonFromB2DPolygon() [all …]
|
| /trunk/main/vcl/source/gdi/ |
| H A D | bmpacc3.cxx | 312 void BitmapWriteAccess::FillPolygon( const Polygon& rPoly ) in FillPolygon() argument 314 const sal_uInt16 nSize = rPoly.GetSize(); in FillPolygon() 319 Region aRegion( rPoly ); in FillPolygon() 354 void BitmapWriteAccess::DrawPolygon( const Polygon& rPoly ) in DrawPolygon() argument 357 FillPolygon( rPoly ); in DrawPolygon() 361 const sal_uInt16 nSize = rPoly.GetSize(); in DrawPolygon() 364 DrawLine( rPoly[ i ], rPoly[ i + 1 ] ); in DrawPolygon() 366 if( rPoly[ nSize - 1 ] != rPoly[ 0 ] ) in DrawPolygon() 367 DrawLine( rPoly[ nSize - 1 ], rPoly[ 0 ] ); in DrawPolygon() 424 const Polygon& rPoly = rPolyPoly[ n++ ]; in DrawPolyPolygon() local [all …]
|
| H A D | outdev.cxx | 216 Polygon ImplSubdivideBezier( const Polygon& rPoly ) in ImplSubdivideBezier() argument 221 rPoly.AdaptiveSubdivide( aPoly ); in ImplSubdivideBezier() 269 const Polygon& rPoly = rPolyPoly.GetObject( i ); in ImplDrawPolyPolygon() local 270 sal_uInt16 nSize = rPoly.GetSize(); in ImplDrawPolyPolygon() 274 pPointAryAry[j] = (PCONSTSALPOINT)rPoly.GetConstPointAry(); in ImplDrawPolyPolygon() 275 pFlagAryAry[j] = rPoly.GetConstFlagAry(); in ImplDrawPolyPolygon() 1782 void OutputDevice::DrawPolyLine( const Polygon& rPoly ) in DrawPolyLine() argument 1786 DBG_CHKOBJ( &rPoly, Polygon, NULL ); in DrawPolyLine() 1789 mpMetaFile->AddAction( new MetaPolyLineAction( rPoly ) ); in DrawPolyLine() 1791 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolyLine() [all …]
|
| H A D | graphictools.cxx | 30 static ::rtl::OString polyToString( const Polygon& rPoly ) in polyToString() argument 34 for(nVertex=0; nVertex<rPoly.GetSize(); ++nVertex) in polyToString() 37 switch( rPoly.GetFlags(nVertex) ) in polyToString() 53 aStr += ::rtl::OString::valueOf( static_cast< double >( rPoly[nVertex].getX() ) ); in polyToString() 55 aStr += ::rtl::OString::valueOf( static_cast< double >( rPoly[nVertex].getY() ) ); in polyToString() 68 const Polygon& rPoly = rPolyPoly[nPoly]; in polyPolyToString() local 71 aStr += polyToString( rPoly ); in polyPolyToString() 272 void SvtGraphicStroke::setPath( const Polygon& rPoly ) in setPath() argument 274 maPath = rPoly; in setPath() 277 void SvtGraphicStroke::setStartArrow( const PolyPolygon& rPoly ) in setStartArrow() argument [all …]
|
| H A D | outdev4.cxx | 80 void OutputDevice::ImplDrawPolygon( const Polygon& rPoly, const PolyPolygon* pClipPolyPoly ) in DBG_NAMEEX() 83 ImplDrawPolyPolygon( rPoly, pClipPolyPoly ); in DBG_NAMEEX() 86 sal_uInt16 nPoints = rPoly.GetSize(); in DBG_NAMEEX() 91 const SalPoint* pPtAry = (const SalPoint*)rPoly.GetConstPointAry(); in DBG_NAMEEX() 112 const Polygon rPoly = pPolyPoly->GetObject( 0 ); in ImplDrawPolyPolygon() local 113 sal_uInt16 nSize = rPoly.GetSize(); in ImplDrawPolyPolygon() 117 const SalPoint* pPtAry = (const SalPoint*)rPoly.GetConstPointAry(); in ImplDrawPolyPolygon() 129 const Polygon& rPoly = pPolyPoly->GetObject( i ); in ImplDrawPolyPolygon() local 130 sal_uInt16 nSize = rPoly.GetSize(); in ImplDrawPolyPolygon() 134 pPointAryAry[i] = (PCONSTSALPOINT)rPoly.GetConstPointAry(); in ImplDrawPolyPolygon() [all …]
|
| H A D | impvect.cxx | 178 void ImplCreatePoly( Polygon& rPoly ) const; 233 void ImplPointArray::ImplCreatePoly( Polygon& rPoly ) const in ImplCreatePoly() 235 rPoly = Polygon( sal::static_int_cast<sal_uInt16>(mnRealSize), mpArray ); in ImplCreatePoly() 886 const Polygon& rPoly = rPolyPoly.GetObject( nCurPoly ); in ImplVectorize() local 887 const sal_uInt16 nSize( rPoly.GetSize() ); in ImplVectorize() 889 const bool bRight( rPoly.IsRightOrientated() ); in ImplVectorize() 892 if( ( i != nCurPoly ) && rPolyPoly.GetObject( i ).IsInside( rPoly[ 0 ] ) ) in ImplVectorize() 902 if( rPoly.HasFlags() ) in ImplVectorize() 906 aNewPoly.SetPoint( rPoly.GetPoint( nSec ), nPrim ); in ImplVectorize() 907 aNewPoly.SetFlags( nPrim++, rPoly.GetFlags( nSec-- ) ); in ImplVectorize() [all …]
|
| /trunk/main/sw/source/core/docnode/ |
| H A D | ndnotxt.cxx | 167 Polygon& rPoly = (*pContour)[j]; in HasContour() local 169 sal_uInt16 nCount = rPoly.GetSize(); in HasContour() 173 rPoly[i] = pOutDev->LogicToPixel( rPoly[i], in HasContour() 177 rPoly[i] = pOutDev->PixelToLogic( rPoly[i], aGrfMap ); in HasContour() 181 rPoly[i] = Point( rPoly[i].X() * pOutDev->ImplGetDPIX() / nGrfDPIx, in HasContour() 182 rPoly[i].Y() * pOutDev->ImplGetDPIY() / nGrfDPIy ); in HasContour() 187 rPoly[i] = OutputDevice::LogicToLogic( rPoly[i], in HasContour() 200 void SwNoTxtNode::GetContour( PolyPolygon &rPoly ) const in GetContour() 203 rPoly = *HasContour(); in GetContour() 236 Polygon& rPoly = rContour[j]; in GetContourAPI() local [all …]
|
| /trunk/main/svtools/source/filter/wmf/ |
| H A D | emfwr.cxx | 569 void EMFWriter::ImplWritePolygonRecord( const Polygon& rPoly, sal_Bool bClose ) in ImplWritePolygonRecord() argument 571 if( rPoly.GetSize() ) in ImplWritePolygonRecord() 573 if( rPoly.HasFlags() ) in ImplWritePolygonRecord() 574 ImplWritePath( rPoly, bClose ); in ImplWritePolygonRecord() 583 ImplWriteRect( rPoly.GetBoundRect() ); in ImplWritePolygonRecord() 584 (*mpStm) << (sal_uInt32) rPoly.GetSize(); in ImplWritePolygonRecord() 586 for( sal_uInt16 i = 0; i < rPoly.GetSize(); i++ ) in ImplWritePolygonRecord() 587 ImplWritePoint( rPoly[ i ] ); in ImplWritePolygonRecord() 633 const Polygon& rPoly = rPolyPoly[ i ]; in ImplWritePolyPolygonRecord() local 635 for( n = 0; n < rPoly.GetSize(); n++ ) in ImplWritePolyPolygonRecord() [all …]
|
| /trunk/main/basegfx/test/ |
| H A D | testtools.cxx | 119 void Plotter::plot( const B2DPolygon& rPoly ) in plot() argument 121 const sal_uInt32 pointCount( rPoly.count() ); in plot() 128 plot( rPoly.getB2DPoint(0) ); in plot() 135 if(rPoly.isNextControlPointUsed(i) || rPoly.isPrevControlPointUsed(i + 1)) in plot() 138 rPoly.getB2DPoint(i), rPoly.getNextControlPoint(i), in plot() 139 rPoly.getPrevControlPoint(i + 1), rPoly.getB2DPoint(i + 1)); in plot() 145 plot( rPoly.getB2DPoint(i), rPoly.getB2DPoint(i+1) ); in plot()
|
| /trunk/main/tools/inc/tools/ |
| H A D | poly.hxx | 126 static void ImplReduceEdges( Polygon& rPoly, const double& rArea, sal_uInt16 nPercent ); 150 Polygon( const Polygon& rPoly ); 213 void Insert( sal_uInt16 nPos, const Polygon& rPoly ); 219 Polygon& operator=( const Polygon& rPoly ); 220 sal_Bool operator==( const Polygon& rPoly ) const; 221 sal_Bool operator!=( const Polygon& rPoly ) const in operator !=() 222 { return !(Polygon::operator==( rPoly )); } in operator !=() 223 sal_Bool IsEqual( const Polygon& rPoly ) const; 227 TOOLS_DLLPUBLIC friend SvStream& operator>>( SvStream& rIStream, Polygon& rPoly ); 228 TOOLS_DLLPUBLIC friend SvStream& operator<<( SvStream& rOStream, const Polygon& rPoly ); [all …]
|
| /trunk/main/basebmp/source/ |
| H A D | bitmapdevice.cxx | 508 void implDrawPolygon( const basegfx::B2DPolygon& rPoly, in implDrawPolygon() argument 514 basegfx::B2DPolygon aPoly( rPoly ); in implDrawPolygon() 515 if( rPoly.areControlPointsUsed() ) in implDrawPolygon() 516 aPoly = basegfx::tools::adaptiveSubdivideByCount( rPoly ); in implDrawPolygon() 539 virtual void drawPolygon_i(const basegfx::B2DPolygon& rPoly, in drawPolygon_i() argument 545 implDrawPolygon( rPoly, rBounds, lineColor, in drawPolygon_i() 549 implDrawPolygon( rPoly, rBounds, lineColor, in drawPolygon_i() 554 virtual void drawPolygon_i(const basegfx::B2DPolygon& rPoly, in drawPolygon_i() argument 561 implDrawPolygon( rPoly, rBounds, lineColor, in drawPolygon_i() 565 implDrawPolygon( rPoly, rBounds, lineColor, in drawPolygon_i() [all …]
|
| /trunk/main/filter/source/flash/ |
| H A D | swfwriter1.cxx | 109 Polygon& rPoly = rPolyPolygon[nPoly]; in map() local 110 nPointCount = rPoly.GetSize(); in map() 114 rPoly[nPoint] = map( rPoly[nPoint] ); in map() 135 void Writer::Impl_addPolygon( BitStream& rBits, const Polygon& rPoly, sal_Bool bFilled ) in Impl_addPolygon() argument 137 Point aLastPoint( rPoly[0] ); in Impl_addPolygon() 141 sal_uInt16 i = 0, nSize = rPoly.GetSize(); in Impl_addPolygon() 150 PolyFlags P1( rPoly.GetFlags( i ) ); in Impl_addPolygon() 151 PolyFlags P4( rPoly.GetFlags( i + 3 ) ); in Impl_addPolygon() 154 ( POLY_CONTROL == rPoly.GetFlags( i + 1 ) ) && in Impl_addPolygon() 155 ( POLY_CONTROL == rPoly.GetFlags( i + 2 ) ) && in Impl_addPolygon() [all …]
|
| /trunk/main/svtools/source/filter/ |
| H A D | sgvspln.cxx | 724 sal_Bool CalcSpline(Polygon& rPoly, sal_Bool Periodic, sal_uInt16& n, in CalcSpline() argument 735 n=rPoly.GetSize(); in CalcSpline() 736 ax=new double[rPoly.GetSize()+2]; in CalcSpline() 737 ay=new double[rPoly.GetSize()+2]; in CalcSpline() 740 for (i=0;i<rPoly.GetSize();i++) { in CalcSpline() 741 Pt=rPoly.GetPoint(i); in CalcSpline() 812 sal_Bool Spline2Poly(Polygon& rSpln, sal_Bool Periodic, Polygon& rPoly) in Spline2Poly() argument 841 rPoly.SetSize(1); in Spline2Poly() 842 rPoly.SetPoint(Point(short(ax[0]),short(ay[0])),0); // erster Punkt in Spline2Poly() 855 if (rPoly.GetSize()<PolyMax) { in Spline2Poly() [all …]
|
| /trunk/main/canvas/source/directx/ |
| H A D | dx_impltools.cxx | 190 const ::basegfx::B2DPolygon& rPoly, in graphicsPathFromB2DPolygon() 193 const sal_uInt32 nPoints( rPoly.count() ); in graphicsPathFromB2DPolygon() 200 const bool bClosedPolygon( rPoly.isClosed() ); in graphicsPathFromB2DPolygon() 202 if( rPoly.areControlPointsUsed() ) in graphicsPathFromB2DPolygon() 216 const ::basegfx::B2DPoint& rPoint( rPoly.getB2DPoint( nCurrPoint ) ); in graphicsPathFromB2DPolygon() 220 … const ::basegfx::B2DPoint& rControlPointA( rPoly.getNextControlPoint( nCurrPoint ) ); in graphicsPathFromB2DPolygon() 224 …const ::basegfx::B2DPoint& rControlPointB( rPoly.getPrevControlPoint( (nCurrPoint + 1) % nPoints) … in graphicsPathFromB2DPolygon() 234 const ::basegfx::B2DPoint& rPoint( rPoly.getB2DPoint(0) ); in graphicsPathFromB2DPolygon() 283 const ::basegfx::B2DPoint& rPoint( rPoly.getB2DPoint( nCurrPoint ) ); in graphicsPathFromB2DPolygon() 464 …GraphicsPathSharedPtr graphicsPathFromB2DPolygon( const ::basegfx::B2DPolygon& rPoly, bool bNoLine… in graphicsPathFromB2DPolygon() argument [all …]
|
| /trunk/main/cppcanvas/source/mtfrenderer/ |
| H A D | polypolyaction.cxx | 259 TexturedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, 373 StrokedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, 479 …ctionSharedPtr PolyPolyActionFactory::createPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, in createPolyPolyAction() argument 485 return ActionSharedPtr( new PolyPolyAction( rPoly, rCanvas, rState, in createPolyPolyAction() 490 …ionSharedPtr PolyPolyActionFactory::createPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, in createPolyPolyAction() argument 495 … return ActionSharedPtr( new TexturedPolyPolyAction( rPoly, rCanvas, rState, rTexture ) ); in createPolyPolyAction() 498 …nSharedPtr PolyPolyActionFactory::createLinePolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, in createLinePolyPolyAction() argument 505 return ActionSharedPtr( new PolyPolyAction( rPoly, rCanvas, rState, in createLinePolyPolyAction() 510 …ionSharedPtr PolyPolyActionFactory::createPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, in createPolyPolyAction() argument 517 … return ActionSharedPtr( new StrokedPolyPolyAction( rPoly, rCanvas, rState, rStrokeAttributes ) ); in createPolyPolyAction() [all …]
|
| /trunk/main/svx/source/dialog/ |
| H A D | _contdlg.cxx | 304 Polygon& rPoly = rContour[ j ]; in ScaleContour() local 306 for ( sal_uInt16 i = 0, nCount = rPoly.GetSize(); i < nCount; i++ ) in ScaleContour() 309 aNewPoint = pOutDev->PixelToLogic( rPoly[ i ], aDispMap ); in ScaleContour() 311 aNewPoint = pOutDev->LogicToLogic( rPoly[ i ], aGrfMap, aDispMap ); in ScaleContour() 313 … rPoly[ i ] = Point( FRound( aNewPoint.X() * fScaleX ), FRound( aNewPoint.Y() * fScaleY ) ); in ScaleContour() 562 Polygon& rPoly = aPolyPoly[ j ]; in SetPolyPolygon() local 564 for ( sal_uInt16 i = 0, nCount = rPoly.GetSize(); i < nCount; i++ ) in SetPolyPolygon() 566 Point& rPt = rPoly[ i ]; in SetPolyPolygon() 599 Polygon& rPoly = aRetPolyPoly[ j ]; in GetPolyPolygon() local 601 for ( sal_uInt16 i = 0, nCount = rPoly.GetSize(); i < nCount; i++ ) in GetPolyPolygon() [all …]
|
| /trunk/main/chart2/source/view/main/ |
| H A D | Clipping.cxx | 155 void lcl_addPointToPoly( drawing::PolyPolygonShape3D& rPoly in lcl_addPointToPoly() argument 168 if(nPolygonIndex >= rPoly.SequenceX.getLength() ) in lcl_addPointToPoly() 170 rPoly.SequenceX.realloc(nPolygonIndex+1); in lcl_addPointToPoly() 171 rPoly.SequenceY.realloc(nPolygonIndex+1); in lcl_addPointToPoly() 172 rPoly.SequenceZ.realloc(nPolygonIndex+1); in lcl_addPointToPoly() 176 drawing::DoubleSequence* pOuterSequenceX = &rPoly.SequenceX.getArray()[nPolygonIndex]; in lcl_addPointToPoly() 177 drawing::DoubleSequence* pOuterSequenceY = &rPoly.SequenceY.getArray()[nPolygonIndex]; in lcl_addPointToPoly() 178 drawing::DoubleSequence* pOuterSequenceZ = &rPoly.SequenceZ.getArray()[nPolygonIndex]; in lcl_addPointToPoly()
|
| /trunk/main/basebmp/inc/basebmp/ |
| H A D | bitmapdevice.hxx | 246 void drawPolygon( const basegfx::B2DPolygon& rPoly, 267 void drawPolygon( const basegfx::B2DPolygon& rPoly, 290 void fillPolyPolygon( const basegfx::B2DPolyPolygon& rPoly, 316 void fillPolyPolygon( const basegfx::B2DPolyPolygon& rPoly, 582 virtual void drawPolygon_i( const basegfx::B2DPolygon& rPoly, 586 virtual void drawPolygon_i( const basegfx::B2DPolygon& rPoly, 592 virtual void fillPolyPolygon_i( const basegfx::B2DPolyPolygon& rPoly, 596 virtual void fillPolyPolygon_i( const basegfx::B2DPolyPolygon& rPoly,
|
| /trunk/main/svx/source/customshapes/ |
| H A D | EnhancedCustomShapeFontWork.cxx | 566 void CalcDistances( const Polygon& rPoly, std::vector< double >& rDistances ) in CalcDistances() argument 568 sal_uInt16 i, nCount = rPoly.GetSize(); in CalcDistances() 573 double fDistance = i ? ((Polygon&)rPoly).CalcDistance( i, i - 1 ) : 0.0; in CalcDistances() 588 …y*/, const std::vector< double >& rDistances, const Rectangle& rTextAreaBoundRect, Polygon& rPoly ) in InsertMissingOutlinePoints() argument 592 for ( i = 0; i < rPoly.GetSize(); i++ ) in InsertMissingOutlinePoints() 594 Point& rPoint = rPoly[ i ]; in InsertMissingOutlinePoints() 603 Point& rPt0 = rPoly[ i - 1 ]; in InsertMissingOutlinePoints() 607 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints() 618 Point& rPt0 = rPoly[ i - 1 ]; in InsertMissingOutlinePoints() 622 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints() [all …]
|
| /trunk/main/svx/source/engine3d/ |
| H A D | lathe3d.cxx | 88 const basegfx::B2DPolygon rPoly(maPolyPoly2D.getB2DPolygon(0L)); in E3dLatheObj() local 89 sal_uInt32 nSegCnt(rPoly.count()); in E3dLatheObj() 91 if(nSegCnt && !rPoly.isClosed()) in E3dLatheObj() 195 const basegfx::B2DPolygon rPoly(maPolyPoly2D.getB2DPolygon(0L)); in SetPolyPoly2D() local 196 sal_uInt32 nSegCnt(rPoly.count()); in SetPolyPoly2D() 198 if(nSegCnt && !rPoly.isClosed()) in SetPolyPoly2D()
|