Lines Matching refs:aCandidate
890 basegfx::B2DPolygon aCandidate(aTempPolyPolygon.getB2DPolygon(nPoly)); in endPathDrag() local
891 aCandidate.remove(nPnt); in endPathDrag()
893 if((IsClosed(meObjectKind) && aCandidate.count() < 3L) || aCandidate.count() < 2L) in endPathDrag()
899 aTempPolyPolygon.setB2DPolygon(nPoly, aCandidate); in endPathDrag()
1812 basegfx::B2DPolygon aCandidate(maPathPolygon.getB2DPolygon(a)); in ImpForceKind() local
1814 if((bool)IsClosed() != aCandidate.isClosed()) in ImpForceKind()
1819 if(aCandidate.isClosed()) in ImpForceKind()
1821 basegfx::tools::openWithGeometryChange(aCandidate); in ImpForceKind()
1825 basegfx::tools::closeWithGeometryChange(aCandidate); in ImpForceKind()
1828 maPathPolygon.setB2DPolygon(a, aCandidate); in ImpForceKind()
2277 const basegfx::B2DPolygon aCandidate(GetPathPoly().getB2DPolygon(0)); in EndCreate() local
2279 if(aCandidate.count() > 2) in EndCreate()
2283 …const basegfx::B2DVector aDistVector(aCandidate.getB2DPoint(aCandidate.count() - 1) - aCandidate.g… in EndCreate()
2603 basegfx::B2DPolygon aCandidate(GetPathPoly().getB2DPolygon(nSmallestPolyIndex)); in NbcInsPoint() local
2604 const bool bBefore(!aCandidate.isClosed() && 0L == nSmallestEdgeIndex && 0.0 == fSmallestCut); in NbcInsPoint()
2605 …const bool bAfter(!aCandidate.isClosed() && aCandidate.count() == nSmallestEdgeIndex + 2L && 1.0 =… in NbcInsPoint()
2610 aCandidate.insert(0L, aTestPoint); in NbcInsPoint()
2612 if(aCandidate.areControlPointsUsed()) in NbcInsPoint()
2614 if(aCandidate.isNextControlPointUsed(1)) in NbcInsPoint()
2616 …aCandidate.setNextControlPoint(0, interpolate(aTestPoint, aCandidate.getB2DPoint(1), (1.0 / 3.0))); in NbcInsPoint()
2617 …aCandidate.setPrevControlPoint(1, interpolate(aTestPoint, aCandidate.getB2DPoint(1), (2.0 / 3.0))); in NbcInsPoint()
2626 aCandidate.append(aTestPoint); in NbcInsPoint()
2628 if(aCandidate.areControlPointsUsed()) in NbcInsPoint()
2630 if(aCandidate.isPrevControlPointUsed(aCandidate.count() - 2)) in NbcInsPoint()
2632 …aCandidate.setNextControlPoint(aCandidate.count() - 2, interpolate(aCandidate.getB2DPoint(aCandida… in NbcInsPoint()
2633 …aCandidate.setPrevControlPoint(aCandidate.count() - 1, interpolate(aCandidate.getB2DPoint(aCandida… in NbcInsPoint()
2637 nNewHdl = aCandidate.count() - 1L; in NbcInsPoint()
2643 const sal_uInt32 nNextIndex((nSmallestEdgeIndex + 1) % aCandidate.count()); in NbcInsPoint()
2645 if(aCandidate.areControlPointsUsed()) in NbcInsPoint()
2647 …if(aCandidate.isNextControlPointUsed(nSmallestEdgeIndex) || aCandidate.isPrevControlPointUsed(nNex… in NbcInsPoint()
2658 aCandidate.getB2DPoint(nSmallestEdgeIndex), in NbcInsPoint()
2659 aCandidate.getNextControlPoint(nSmallestEdgeIndex), in NbcInsPoint()
2660 aCandidate.getPrevControlPoint(nNextIndex), in NbcInsPoint()
2661 aCandidate.getB2DPoint(nNextIndex)); in NbcInsPoint()
2665 aCandidate.insert(nSmallestEdgeIndex + 1, aTestPoint); in NbcInsPoint()
2670 aCandidate.setNextControlPoint(nSmallestEdgeIndex, aBezierA.getControlPointA() + aOffset); in NbcInsPoint()
2671 aCandidate.setPrevControlPoint(nSmallestEdgeIndex + 1, aBezierA.getControlPointB() + aOffset); in NbcInsPoint()
2672 aCandidate.setNextControlPoint(nSmallestEdgeIndex + 1, aBezierB.getControlPointA() + aOffset); in NbcInsPoint()
2673 …aCandidate.setPrevControlPoint((nSmallestEdgeIndex + 2) % aCandidate.count(), aBezierB.getControlP… in NbcInsPoint()
2677 aCandidate.insert(nSmallestEdgeIndex + 1L, aTestPoint); in NbcInsPoint()
2683 maPathPolygon.setB2DPolygon(nSmallestPolyIndex, aCandidate); in NbcInsPoint()
2706 const basegfx::B2DPolygon aCandidate(aLocalPolyPolygon.getB2DPolygon(nPoly)); in RipPoint() local
2707 const sal_uInt32 nPointCount(aCandidate.count()); in RipPoint()
2715 basegfx::B2DPolygon aNewPolygon(basegfx::tools::makeStartPoint(aCandidate, nPnt)); in RipPoint()
2727 basegfx::B2DPolygon aSplitPolyA(aCandidate, 0L, nPnt + 1L); in RipPoint()
2731 basegfx::B2DPolygon aSplitPolyB(aCandidate, nPnt, nPointCount - nPnt); in RipPoint()