/aoo41x/main/basegfx/source/tools/ |
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()
|
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()
|
/aoo41x/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 | 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 …]
|
/aoo41x/main/filter/source/flash/ |
H A D | swfwriter.cxx | 381 sal_uInt16 Writer::defineShape( const Polygon& rPoly, const FillStyle& rFillStyle ) in defineShape() argument 383 const PolyPolygon aPolyPoly( rPoly ); in defineShape() 418 const Polygon& rPoly = rPolyPoly[ i ]; in defineShape() local 419 if( rPoly.GetSize() ) in defineShape() 420 Impl_addPolygon( aBits, rPoly, true ); in defineShape() 463 const Polygon& rPoly = rPolyPoly[ i ]; in defineShape() local 464 if( rPoly.GetSize() ) in defineShape() 465 Impl_addPolygon( aBits, rPoly, false ); in defineShape()
|
/aoo41x/main/svx/inc/svx/ |
H A D | svdocapt.hxx | 76 …SVX_DLLPRIVATE void ImpCalcTail1(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) con… 77 …SVX_DLLPRIVATE void ImpCalcTail2(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) con… 78 …SVX_DLLPRIVATE void ImpCalcTail3(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) con… 79 …SVX_DLLPRIVATE void ImpCalcTail4(const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) con… 80 …SVX_DLLPRIVATE void ImpCalcTail (const ImpCaptParams& rPara, Polygon& rPoly, Rectangle& rRect) con…
|
/aoo41x/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 132 void WritePolygon(const Polygon & rPoly); 359 Polygon aPoly(rPoly); in WritePolygon() 873 if (rPoly.GetSize()<3) return; in WriteOpcode_Poly() 883 WritePolygon(rPoly); in WriteOpcode_Poly() 1637 if( rPoly.GetSize() ) in WriteOpcodes() 1642 if ( rPoly.HasFlags() ) in WriteOpcodes() 1645 aSimplePoly = rPoly; in WriteOpcodes() 1676 const Polygon& rPoly = pA->GetPolygon(); in WriteOpcodes() local 1679 if ( rPoly.HasFlags() ) in WriteOpcodes() 1680 rPoly.AdaptiveSubdivide( aSimplePoly ); in WriteOpcodes() [all …]
|
/aoo41x/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() 298 const ::basegfx::B2DPolyPolygon& rPoly) in dumpSvg() 300 (void)pName; (void)rPoly; in dumpSvg() 304 basegfx::tools::exportToSvgD(rPoly, , true, true, false), in dumpSvg()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | pdfwriter.cxx | 132 void PDFWriter::DrawPolygon( const Polygon& rPoly ) in DrawPolygon() argument 134 ((PDFWriterImpl*)pImplementation)->drawPolygon( rPoly ); in DrawPolygon() 137 void PDFWriter::DrawPolyLine( const Polygon& rPoly ) in DrawPolyLine() argument 139 ((PDFWriterImpl*)pImplementation)->drawPolyLine( rPoly ); in DrawPolyLine() 172 void PDFWriter::DrawPolyLine( const Polygon& rPoly, const LineInfo& rInfo ) in DrawPolyLine() argument 174 ((PDFWriterImpl*)pImplementation)->drawPolyLine( rPoly, rInfo ); in DrawPolyLine() 177 void PDFWriter::DrawPolyLine( const Polygon& rPoly, const ExtLineInfo& rInfo ) in DrawPolyLine() argument 179 ((PDFWriterImpl*)pImplementation)->drawPolyLine( rPoly, rInfo ); in DrawPolyLine()
|
H A D | outmap.cxx | 734 Polygon& rPoly = aPolyPoly[i]; in ImplLogicToDevicePixel() local 735 rPoly = ImplLogicToDevicePixel( rPoly ); in ImplLogicToDevicePixel() 1243 Polygon& rPoly = aPolyPoly[i]; in LogicToPixel() local 1244 rPoly = LogicToPixel( rPoly ); in LogicToPixel() 1452 Polygon& rPoly = aPolyPoly[i]; in LogicToPixel() local 1453 rPoly = LogicToPixel( rPoly, rMapMode ); in LogicToPixel() 1638 Polygon& rPoly = aPolyPoly[i]; in PixelToLogic() local 1639 rPoly = PixelToLogic( rPoly ); in PixelToLogic() 1851 Polygon& rPoly = aPolyPoly[i]; in PixelToLogic() local 1852 rPoly = PixelToLogic( rPoly, rMapMode ); in PixelToLogic()
|
H A D | region.cxx | 1715 static inline bool ImplPolygonRectTest( const Polygon& rPoly, Rectangle* pRectOut = NULL ) in ImplPolygonRectTest() argument 1718 const Point* pPoints = rPoly.GetConstPointAry(); in ImplPolygonRectTest() 1719 sal_uInt16 nPoints = rPoly.GetSize(); in ImplPolygonRectTest() 1781 const Polygon& rPoly = rPolyPoly[i]; in GetRegionFromPolyPolygon() local 1783 if( ImplPolygonRectTest( rPoly ) ) in GetRegionFromPolyPolygon() 1803 const Polygon& rPoly = rPolyPoly[i]; in GetRegionFromPolyPolygon() local 1805 if( ImplPolygonRectTest( rPoly, &aRect ) ) in GetRegionFromPolyPolygon() 1811 aResult.XOr( Region(rPoly) ); in GetRegionFromPolyPolygon()
|
/aoo41x/main/chart2/source/tools/ |
H A D | CommonConverters.cxx | 160 void AddPointToPoly( drawing::PolyPolygonShape3D& rPoly, const drawing::Position3D& rPos, sal_Int32… in AddPointToPoly() argument 169 if(nPolygonIndex >= rPoly.SequenceX.getLength() ) in AddPointToPoly() 171 rPoly.SequenceX.realloc(nPolygonIndex+1); in AddPointToPoly() 172 rPoly.SequenceY.realloc(nPolygonIndex+1); in AddPointToPoly() 173 rPoly.SequenceZ.realloc(nPolygonIndex+1); in AddPointToPoly() 176 drawing::DoubleSequence* pOuterSequenceX = &rPoly.SequenceX.getArray()[nPolygonIndex]; in AddPointToPoly() 177 drawing::DoubleSequence* pOuterSequenceY = &rPoly.SequenceY.getArray()[nPolygonIndex]; in AddPointToPoly() 178 drawing::DoubleSequence* pOuterSequenceZ = &rPoly.SequenceZ.getArray()[nPolygonIndex]; in AddPointToPoly()
|
/aoo41x/main/basebmp/source/ |
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()
|
/aoo41x/main/filter/source/svg/ |
H A D | svgwriter.cxx | 449 rDstPoly = Polygon( rPoly.GetSize() ); in ImplMap() 451 for( sal_uInt16 i = 0, nSize = rPoly.GetSize(); i < nSize; ++i ) in ImplMap() 453 ImplMap( rPoly[ i ], rDstPoly[ i ] ); in ImplMap() 454 rDstPoly.SetFlags( i, rPoly.GetFlags( i ) ); in ImplMap() 487 const Polygon& rPoly = rPolyPoly[ (sal_uInt16) i ]; in GetPathString() local 488 sal_uInt16 n = 1, nSize = rPoly.GetSize(); in GetPathString() 493 aPathData += ::rtl::OUString::valueOf( ( aPolyPoint = rPoly[ 0 ] ).X() ); in GetPathString() 497 const bool bClose(!bLine || rPoly[0] == rPoly[nSize - 1]); in GetPathString() 1279 const Polygon& rPoly = pA->GetPolygon(); in ImplWriteActions() local 1281 if( rPoly.GetSize() ) in ImplWriteActions() [all …]
|
/aoo41x/main/svtools/source/filter/wmf/ |
H A D | winmtf.cxx | 148 Polygon& rPoly = ((PolyPolygon&)*this)[ Count() - 1 ]; in AddPoint() local 149 rPoly.Insert( rPoly.GetSize(), rPoint, POLY_NORMAL ); in AddPoint() 157 Polygon& rPoly = ((PolyPolygon&)*this)[ Count() - 1 ]; in AddPolyLine() local 158 rPoly.Insert( rPoly.GetSize(), rPolyLine ); in AddPolyLine() 162 void WinMtfPathObj::AddPolygon( const Polygon& rPoly ) in AddPolygon() argument 164 Insert( rPoly, POLYPOLY_APPEND ); in AddPolygon() 180 Polygon& rPoly = ((PolyPolygon&)*this)[ Count() - 1 ]; in ClosePath() local 181 if ( rPoly.GetSize() > 2 ) in ClosePath() 183 Point aFirst( rPoly[ 0 ] ); in ClosePath() 184 if ( aFirst != rPoly[ rPoly.GetSize() - 1 ] ) in ClosePath() [all …]
|
H A D | wmfwr.cxx | 743 void WMFWriter::WMFRecord_Polygon(const Polygon & rPoly) in WMFRecord_Polygon() argument 748 if ( rPoly.HasFlags() ) in WMFRecord_Polygon() 749 rPoly.AdaptiveSubdivide( aSimplePoly ); in WMFRecord_Polygon() 751 aSimplePoly = rPoly; in WMFRecord_Polygon() 759 void WMFWriter::WMFRecord_PolyLine(const Polygon & rPoly) in WMFRecord_PolyLine() argument 763 if ( rPoly.HasFlags() ) in WMFRecord_PolyLine() 764 rPoly.AdaptiveSubdivide( aSimplePoly ); in WMFRecord_PolyLine() 766 aSimplePoly = rPoly; in WMFRecord_PolyLine() 1291 const Polygon& rPoly = pA->GetPolygon(); in WriteRecords() local 1293 if( rPoly.GetSize() ) in WriteRecords() [all …]
|
/aoo41x/main/cppcanvas/source/wrapper/ |
H A D | implpolypolygon.cxx | 70 void ImplPolyPolygon::addPolygon( const ::basegfx::B2DPolygon& rPoly ) in addPolygon() argument 89 rPoly) ); in addPolygon() 92 void ImplPolyPolygon::addPolyPolygon( const ::basegfx::B2DPolyPolygon& rPoly ) in addPolyPolygon() argument 111 rPoly) ); in addPolyPolygon()
|
/aoo41x/main/basegfx/source/workbench/ |
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()
|
/aoo41x/main/tools/source/generic/ |
H A D | poly2.cxx | 111 PolyPolygon::PolyPolygon( const Polygon& rPoly ) in PolyPolygon() argument 115 if ( rPoly.GetSize() ) in PolyPolygon() 118 mpImplPolyPolygon->mpPolyAry[0] = new Polygon( rPoly ); in PolyPolygon() 150 void PolyPolygon::Insert( const Polygon& rPoly, sal_uInt16 nPos ) in Insert() argument 191 mpImplPolyPolygon->mpPolyAry[nPos] = new Polygon( rPoly ); in Insert() 218 void PolyPolygon::Replace( const Polygon& rPoly, sal_uInt16 nPos ) in Replace() argument 231 mpImplPolyPolygon->mpPolyAry[nPos] = new Polygon( rPoly ); in Replace()
|
/aoo41x/main/canvas/source/vcl/ |
H A D | impltools.cxx | 175 const ::Polygon& rPoly( rPolyPoly[0] ); in isRectangle() local 177 sal_uInt16 nCount( rPoly.GetSize() ); in isRectangle() 182 return ::basegfx::tools::isRectangle( rPoly.getB2DPolygon() ); in isRectangle() 203 ::PolyPolygon mapPolyPolygon( const ::basegfx::B2DPolyPolygon& rPoly, in mapPolyPolygon() argument 212 ::basegfx::B2DPolyPolygon aTemp( rPoly ); in mapPolyPolygon()
|
/aoo41x/main/filter/source/graphicfilter/icgm/ |
H A D | actimpr.cxx | 676 void CGMImpressOutAct::DrawPolygon( Polygon& rPoly ) in DrawPolygon() argument 678 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolygon() 697 *pInnerSequence++ = awt::Point( rPoly[ n ].X(), rPoly[n].Y() ); in DrawPolygon() 709 void CGMImpressOutAct::DrawPolyLine( Polygon& rPoly ) in DrawPolyLine() argument 711 sal_uInt16 nPoints = rPoly.GetSize(); in DrawPolyLine() 730 *pInnerSequence++ = awt::Point( rPoly[ n ].X(), rPoly[n].Y() ); in DrawPolyLine()
|
/aoo41x/main/basebmp/inc/basebmp/ |
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()
|
/aoo41x/main/chart2/source/view/main/ |
H A D | ShapeFactory.cxx | 2301 bool ShapeFactory::hasPolygonAnyLines( drawing::PolyPolygonShape3D& rPoly) in hasPolygonAnyLines() argument 2304 for( sal_Int32 nIdx = 0, nCount = rPoly.SequenceX.getLength(); nIdx < nCount; ++nIdx ) in hasPolygonAnyLines() 2305 if( rPoly.SequenceX[ nIdx ].getLength() > 1 ) in hasPolygonAnyLines() 2310 bool ShapeFactory::isPolygonEmptyOrSinglePoint( drawing::PolyPolygonShape3D& rPoly) in isPolygonEmptyOrSinglePoint() argument 2313 return (rPoly.SequenceX.getLength() == 0) || in isPolygonEmptyOrSinglePoint() 2314 ((rPoly.SequenceX.getLength() == 1) && (rPoly.SequenceX[0].getLength() <= 1)); in isPolygonEmptyOrSinglePoint() 2317 void ShapeFactory::closePolygon( drawing::PolyPolygonShape3D& rPoly) in closePolygon() argument 2319 …DBG_ASSERT( rPoly.SequenceX.getLength() <= 1, "ShapeFactory::closePolygon - single polygon expecte… in closePolygon() 2321 if(isPolygonEmptyOrSinglePoint(rPoly)) in closePolygon() 2323 drawing::Position3D aFirst(rPoly.SequenceX[0][0],rPoly.SequenceY[0][0],rPoly.SequenceZ[0][0]); in closePolygon() [all …]
|
/aoo41x/main/svx/source/xoutdev/ |
H A D | _xpoly.cxx | 313 XPolygon::XPolygon( const Polygon& rPoly ) in XPolygon() argument 317 sal_uInt16 nSize = rPoly.GetSize(); in XPolygon() 323 pImpXPolygon->pPointAry[i] = rPoly[i]; in XPolygon() 324 pImpXPolygon->pFlagAry[i] = (sal_uInt8) rPoly.GetFlags( i ); in XPolygon() 618 void XPolygon::Insert( sal_uInt16 nPos, const Polygon& rPoly ) in Insert() argument 623 sal_uInt16 nPoints = rPoly.GetSize(); in Insert() 629 pImpXPolygon->pPointAry[i] = rPoly[i]; in Insert() 2111 const XPolygon& rPoly = (*this)[a]; in getB2DPolyPolygon() local 2112 aRetval.append(rPoly.getB2DPolygon()); in getB2DPolyPolygon()
|
/aoo41x/main/oox/source/export/ |
H A D | drawingml.cxx | 1254 const Polygon& rPoly = rPolyPolygon[ i ]; in WritePolyPolygon() local 1255 Rectangle aRect( rPoly.GetBoundRect() ); in WritePolyPolygon() 1263 if( rPoly.GetSize() > 0 ) in WritePolyPolygon() 1268 XML_x, I64S( rPoly[ 0 ].X() - aRect.Left() ), in WritePolyPolygon() 1269 XML_y, I64S( rPoly[ 0 ].Y() - aRect.Top() ), in WritePolyPolygon() 1275 for( USHORT j = 1; j < rPoly.GetSize(); j ++ ) in WritePolyPolygon() 1277 enum PolyFlags flags = rPoly.GetFlags(j); in WritePolyPolygon() 1287 XML_x, I64S( rPoly[j].X() - aRect.Left() ), in WritePolyPolygon() 1288 XML_y, I64S( rPoly[j].Y() - aRect.Top() ), in WritePolyPolygon()
|