/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,
|
H A D | polypolygonrenderer.hxx | 92 basegfx::B2DPolyPolygon const& rPoly, 146 basegfx::B2DPolyPolygon const& rPoly, in renderClippedPolyPolygon() argument 156 basegfx::B2DRange const aPolyBounds( basegfx::tools::getRange(rPoly) ); in renderClippedPolyPolygon() 171 detail::setupGlobalEdgeTable( aGET, rPoly, nMinY ) ); in renderClippedPolyPolygon()
|
/trunk/main/basebmp/source/ |
H A D | bitmapdevice.cxx | 517 basegfx::B2DPolygon aPoly( rPoly ); in implDrawPolygon() 518 if( rPoly.areControlPointsUsed() ) in implDrawPolygon() 580 basegfx::B2DPolyPolygon aPoly( rPoly ); in implFillPolyPolygon() 581 if( rPoly.areControlPointsUsed() ) in implFillPolyPolygon() 599 implFillPolyPolygon( rPoly, fillColor, in fillPolyPolygon_i() 1183 const sal_uInt32 numVertices( rPoly.count() ); in drawPolygon() 1185 drawPolygon_i( rPoly, in drawPolygon() 1197 drawPolygon(rPoly,lineColor,drawMode); in drawPolygon() 1201 const sal_uInt32 numVertices( rPoly.count() ); in drawPolygon() 1205 drawPolygon_i( rPoly, in drawPolygon() [all …]
|
H A D | polypolygonrenderer.cxx | 45 const basegfx::B2DPolygon& rPoly( rPolyPoly.getB2DPolygon(i) ); in setupGlobalEdgeTable() local 46 for( sal_uInt32 k(0), nVertices(rPoly.count()); in setupGlobalEdgeTable() 50 const basegfx::B2DPoint& rP1( rPoly.getB2DPoint(k) ); in setupGlobalEdgeTable() 51 const basegfx::B2DPoint& rP2( rPoly.getB2DPoint( (k + 1) % nVertices ) ); in setupGlobalEdgeTable()
|
/trunk/main/basegfx/inc/basegfx/polygon/ |
H A D | b2dpolygon.hxx | 220 …void insert(sal_uInt32 nIndex, const B2DPolygon& rPoly, sal_uInt32 nIndex2 = 0, sal_uInt32 nCount … 237 void append(const B2DPolygon& rPoly, sal_uInt32 nIndex = 0, sal_uInt32 nCount = 0);
|
H A D | b2dpolygontools.hxx | 339 BASEGFX_DLLPUBLIC bool isRectangle( const B2DPolygon& rPoly ); 596 BASEGFX_DLLPUBLIC ::rtl::OUString exportToSvgPoints( const B2DPolygon& rPoly );
|
H A D | b2dpolypolygontools.hxx | 243 BASEGFX_DLLPUBLIC bool isRectangle( const B2DPolyPolygon& rPoly );
|
H A D | b3dpolygon.hxx | 108 …void insert(sal_uInt32 nIndex, const B3DPolygon& rPoly, sal_uInt32 nIndex2 = 0, sal_uInt32 nCount … 109 void append(const B3DPolygon& rPoly, sal_uInt32 nIndex = 0, sal_uInt32 nCount = 0);
|
/trunk/main/basegfx/inc/basegfx/tools/ |
H A D | canvastools.hxx | 82 const ::basegfx::B2DPolygon& rPoly ); 118 ::com::sun::star::rendering::XPolyPolygon2D >& rPoly );
|
H A D | debugplotter.hxx | 86 void plot( const B2DPolygon& rPoly, 88 void plot( const B2DPolyPolygon& rPoly,
|
/trunk/main/basegfx/source/polygon/ |
H A D | b2dpolygon.cxx | 1528 if(rPoly.count()) in insert() 1532 nCount = rPoly.count(); in insert() 1535 if(0 == nIndex2 && nCount == rPoly.count()) in insert() 1537 mpPolygon->insert(nIndex, *rPoly.mpPolygon); in insert() 1542 ImplB2DPolygon aTempPoly(*rPoly.mpPolygon, nIndex2, nCount); in insert() 1548 void B2DPolygon::append(const B2DPolygon& rPoly, sal_uInt32 nIndex, sal_uInt32 nCount) in append() argument 1550 if(rPoly.count()) in append() 1554 nCount = rPoly.count(); in append() 1557 if(0 == nIndex && nCount == rPoly.count()) in append() 1559 mpPolygon->insert(mpPolygon->count(), *rPoly.mpPolygon); in append() [all …]
|
H A D | b2dpolygontools.cxx | 2365 bool isRectangle( const B2DPolygon& rPoly ) in isRectangle() argument 2369 if( !rPoly.isClosed() || in isRectangle() 2370 rPoly.count() < 4 || in isRectangle() 2371 rPoly.areControlPointsUsed() ) in isRectangle() 2390 const sal_Int32 nCount( rPoly.count() ); in isRectangle() 2393 const B2DPoint& rPoint0( rPoly.getB2DPoint(i % nCount) ); in isRectangle() 2394 const B2DPoint& rPoint1( rPoly.getB2DPoint((i+1) % nCount) ); in isRectangle() 3153 const B2DPolygon& rPoly( rPolyPoly.getB2DPolygon(0) ); in isPolyPolygonEqualRectangle() local 3154 const sal_uInt32 nCount( rPoly.count() ); in isPolyPolygonEqualRectangle() 3164 const B2DPoint p(rPoly.getB2DPoint(i)); in isPolyPolygonEqualRectangle()
|
H A D | b2dpolypolygonrasterconverter.cxx | 394 const B2DPolygon& rPoly( maPolyPolygon.getB2DPolygon(i) ); in init() local 395 for( sal_uInt32 k(0), nVertices(rPoly.count()); in init() 399 const B2DPoint& rP1( rPoly.getB2DPoint(k) ); in init() 400 const B2DPoint& rP2( rPoly.getB2DPoint( (k + 1) % nVertices ) ); in init()
|
H A D | b2dpolypolygontools.cxx | 514 bool isRectangle( const B2DPolyPolygon& rPoly ) in isRectangle() argument 517 if( rPoly.count() != 1 ) in isRectangle() 520 return isRectangle( rPoly.getB2DPolygon(0) ); in isRectangle()
|
H A D | b2dsvgpolypolygon.cxx | 685 ::rtl::OUString exportToSvgPoints( const B2DPolygon& rPoly ) in exportToSvgPoints() argument 687 …OSL_ENSURE(!rPoly.areControlPointsUsed(), "exportToSvgPoints: Only non-bezier polygons allowed (!)… in exportToSvgPoints() 688 const sal_uInt32 nPointCount(rPoly.count()); in exportToSvgPoints() 693 const basegfx::B2DPoint aPoint(rPoly.getB2DPoint(a)); in exportToSvgPoints()
|
H A D | b3dpolygon.cxx | 1716 if(rPoly.count()) in insert() 1720 nCount = rPoly.count(); in insert() 1723 if(0L == nIndex2 && nCount == rPoly.count()) in insert() 1725 mpPolygon->insert(nIndex, *rPoly.mpPolygon); in insert() 1730 ImplB3DPolygon aTempPoly(*rPoly.mpPolygon, nIndex2, nCount); in insert() 1736 void B3DPolygon::append(const B3DPolygon& rPoly, sal_uInt32 nIndex, sal_uInt32 nCount) in append() argument 1738 if(rPoly.count()) in append() 1742 nCount = rPoly.count(); in append() 1745 if(0L == nIndex && nCount == rPoly.count()) in append() 1747 mpPolygon->insert(mpPolygon->count(), *rPoly.mpPolygon); in append() [all …]
|
/trunk/main/basegfx/source/tools/ |
H A D | b2dclipstate.cxx | 64 maClipPoly(rPoly), in ImplB2DClipState() 71 maClipPoly(rPoly), in ImplB2DClipState() 188 addPolygon(rPoly,UNION); in unionPolygon() 220 addPolygon(rPoly,INTERSECT); in intersectPolygon() 252 addPolygon(rPoly,SUBTRACT); in subtractPolygon() 278 addPolygon(rPoly,XOR); in xorPolygon() 516 mpImpl( ImplB2DClipState(rPoly) ) in B2DClipState() 574 mpImpl->unionPolygon(rPoly); in unionPolygon() 594 mpImpl->intersectPolygon(rPoly); in intersectPolygon() 614 mpImpl->subtractPolygon(rPoly); in subtractPolygon() [all …]
|
H A D | canvastools.cxx | 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() 156 if( rPoly.areControlPointsUsed() ) in xPolyPolygonFromB2DPolygon() 159 outputSequence[0] = bezierSequenceFromB2DPolygon( rPoly ); in xPolyPolygonFromB2DPolygon() 167 outputSequence[0] = pointSequenceFromB2DPolygon( rPoly ); in xPolyPolygonFromB2DPolygon() [all …]
|
H A D | debugplotter.cxx | 385 void DebugPlotter::plot( const B2DPolygon& rPoly, in plot() argument 388 maPolygons.push_back( ::std::make_pair( rPoly, in plot() 392 void DebugPlotter::plot( const B2DPolyPolygon& rPoly, in plot() argument 396 const sal_uInt32 nCount( rPoly.count() ); in plot() 398 maPolygons.push_back( ::std::make_pair( rPoly.getB2DPolygon( i ), in plot()
|
H A D | unopolypolygon.cxx | 249 const B2DPolygon& rPoly( maPolyPoly.getB2DPolygon( nPolygonIndex ) ); in getPoint() local 251 if( nPointIndex < 0 || nPointIndex >= static_cast<sal_Int32>(rPoly.count()) ) in getPoint() 254 return unotools::point2DFromB2DPoint( rPoly.getB2DPoint( nPointIndex ) ); in getPoint() 319 const B2DPolygon& rPoly( maPolyPoly.getB2DPolygon( nPolygonIndex ) ); in getBezierSegment() local 320 const sal_uInt32 nPointCount(rPoly.count()); in getBezierSegment() 325 const B2DPoint& rPt( rPoly.getB2DPoint( nPointIndex ) ); in getBezierSegment() 326 const B2DPoint& rCtrl0( rPoly.getNextControlPoint(nPointIndex) ); in getBezierSegment() 327 const B2DPoint& rCtrl1( rPoly.getPrevControlPoint((nPointIndex + 1) % nPointCount) ); in getBezierSegment()
|
/trunk/main/basegfx/source/workbench/ |
H A D | bezierclip.cxx | 181 const Polygon2D& rPoly, in Impl_calcSafeParams() argument 187 Polygon2D convHull( convexHull(rPoly) ); in Impl_calcSafeParams()
|
H A D | bezierclip.hxx | 78 Polygon2D convexHull( const Polygon2D& rPoly );
|
H A D | convexhull.cxx | 161 Polygon2D convexHull( const Polygon2D& rPoly ) in convexHull() argument 163 const Polygon2D::size_type N( rPoly.size() ); in convexHull() 165 ::std::copy(rPoly.begin(), rPoly.end(), result.begin()+1 ); in convexHull()
|
/trunk/main/basegfx/test/ |
H A D | boxclipper.cxx | 196 B2DPolyPolygon normalizePoly( const B2DPolyPolygon& rPoly ) in normalizePoly() argument 199 for( sal_uInt32 i=0; i<rPoly.count(); ++i ) in normalizePoly() 201 B2DPolygon aTmp=rPoly.getB2DPolygon(i); in normalizePoly() 257 const ::basegfx::B2DPolyPolygon& rPoly) in dumpSvg() 259 (void)pName; (void)rPoly; in dumpSvg() 263 basegfx::tools::exportToSvgD(rPoly, true, true, false), in dumpSvg()
|
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()
|