Lines Matching refs:rSrcPoly
796 bool ImpSdrGDIMetaFileImport::CheckLastLineMerge(const basegfx::B2DPolygon& rSrcPoly) in CheckLastLineMerge() argument
799 if(rSrcPoly.isClosed()) in CheckLastLineMerge()
805 if(mbLastObjWasLine && (maOldLineColor == maVD.GetLineColor()) && rSrcPoly.count()) in CheckLastLineMerge()
826 const sal_uInt32 nMaxSrcPnt(rSrcPoly.count() - 1L); in CheckLastLineMerge()
828 if(aDstPoly.getB2DPoint(nMaxDstPnt) == rSrcPoly.getB2DPoint(0L)) in CheckLastLineMerge()
830 aDstPoly.append(rSrcPoly, 1L, rSrcPoly.count() - 1L); in CheckLastLineMerge()
833 else if(aDstPoly.getB2DPoint(0L) == rSrcPoly.getB2DPoint(nMaxSrcPnt)) in CheckLastLineMerge()
835 basegfx::B2DPolygon aNew(rSrcPoly); in CheckLastLineMerge()
840 else if(aDstPoly.getB2DPoint(0L) == rSrcPoly.getB2DPoint(0L)) in CheckLastLineMerge()
843 aDstPoly.append(rSrcPoly, 1L, rSrcPoly.count() - 1L); in CheckLastLineMerge()
846 else if(aDstPoly.getB2DPoint(nMaxDstPnt) == rSrcPoly.getB2DPoint(nMaxSrcPnt)) in CheckLastLineMerge()
848 basegfx::B2DPolygon aNew(rSrcPoly); in CheckLastLineMerge()