Home
last modified time | relevance | path

Searched refs:rPoly (Results 26 – 50 of 131) sorted by relevance

123456

/trunk/main/basegfx/source/polygon/
H A Db2dpolygon.cxx1528 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 Db3dpolygon.cxx1716 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 Dunopolypolygon.cxx249 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 Ddebugplotter.cxx385 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()
/trunk/main/filter/source/flash/
H A Dswfwriter.cxx381 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()
/trunk/main/filter/source/graphicfilter/epict/
H A Depict.cxx132 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 …]
/trunk/main/svx/inc/svx/
H A Dsvdocapt.hxx76 …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…
/trunk/main/basegfx/test/
H A Dboxclipper.cxx196 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()
/trunk/main/vcl/source/gdi/
H A Dpdfwriter.cxx132 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 Doutmap.cxx734 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 Dregion.cxx1717 static inline bool ImplPolygonRectTest( const Polygon& rPoly, Rectangle* pRectOut = NULL ) in ImplPolygonRectTest() argument
1720 const Point* pPoints = rPoly.GetConstPointAry(); in ImplPolygonRectTest()
1721 sal_uInt16 nPoints = rPoly.GetSize(); in ImplPolygonRectTest()
1783 const Polygon& rPoly = rPolyPoly[i]; in GetRegionFromPolyPolygon() local
1785 if( ImplPolygonRectTest( rPoly ) ) in GetRegionFromPolyPolygon()
1805 const Polygon& rPoly = rPolyPoly[i]; in GetRegionFromPolyPolygon() local
1807 if( ImplPolygonRectTest( rPoly, &aRect ) ) in GetRegionFromPolyPolygon()
1813 aResult.XOr( Region(rPoly) ); in GetRegionFromPolyPolygon()
/trunk/main/chart2/source/tools/
H A DCommonConverters.cxx160 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()
/trunk/main/filter/source/svg/
H A Dsvgwriter.cxx449 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 …]
/trunk/main/svtools/source/filter/wmf/
H A Dwinmtf.cxx148 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 Dwmfwr.cxx743 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 …]
/trunk/main/basebmp/source/
H A Dpolypolygonrenderer.cxx45 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/tools/source/generic/
H A Dpoly2.cxx111 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()
/trunk/main/cppcanvas/source/wrapper/
H A Dimplpolypolygon.cxx70 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()
/trunk/main/basegfx/source/workbench/
H A Dconvexhull.cxx161 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/canvas/source/vcl/
H A Dimpltools.cxx175 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()
/trunk/main/filter/source/graphicfilter/icgm/
H A Dactimpr.cxx676 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()
/trunk/main/chart2/source/view/main/
H A DShapeFactory.cxx2301 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 …]
/trunk/main/svx/source/xoutdev/
H A D_xpoly.cxx313 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()
/trunk/main/oox/source/export/
H A Ddrawingml.cxx1254 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()
/trunk/main/svtools/source/control/
H A Druler.cxx865 maVirDev.DrawPolygon( rPoly ); in ImplDrawIndent()
872 aPos1 = rPoly.GetPoint( 2 ); in ImplDrawIndent()
874 aPos2 = rPoly.GetPoint( 1 ); in ImplDrawIndent()
879 aPos1 = rPoly.GetPoint( 0 ); in ImplDrawIndent()
883 aPos2 = rPoly.GetPoint( 4 ); in ImplDrawIndent()
887 aPos1 = rPoly.GetPoint( 3 ); in ImplDrawIndent()
891 aPos2 = rPoly.GetPoint( 2 ); in ImplDrawIndent()
899 aPos1 = rPoly.GetPoint( 2 ); in ImplDrawIndent()
902 aPos2 = rPoly.GetPoint( 3 ); in ImplDrawIndent()
905 aPos2 = rPoly.GetPoint( 1 ); in ImplDrawIndent()
[all …]

Completed in 232 milliseconds

123456