Lines Matching refs:rCandidate
47 const B2DPolygon& rCandidate, in createAreaGeometryForLineStartEnd() argument
56 …OSL_ENSURE(rCandidate.count() > 1L, "createAreaGeometryForLineStartEnd: Line polygon has too less … in createAreaGeometryForLineStartEnd()
67 if(rCandidate.count() > 1 && rArrow.count() && !fTools::equalZero(fWidth)) in createAreaGeometryForLineStartEnd()
103 fCandidateLength = getLength(rCandidate); in createAreaGeometryForLineStartEnd()
108 const B2DVector aHead(rCandidate.getB2DPoint((bStart) ? 0L : rCandidate.count() - 1L)); in createAreaGeometryForLineStartEnd()
109 const B2DVector aTail(getPositionAbsolute(rCandidate, in createAreaGeometryForLineStartEnd()
145 …bool impIsSimpleEdge(const B2DCubicBezier& rCandidate, double fMaxCosQuad, double fMaxPartOfEdgeQu… in impIsSimpleEdge() argument
148 const B2DVector aEdge(rCandidate.getEndPoint() - rCandidate.getStartPoint()); in impIsSimpleEdge()
158 const B2DVector aTangentA(rCandidate.getTangent(0.0)); in impIsSimpleEdge()
185 const B2DVector aTangentB(rCandidate.getTangent(1.0)); in impIsSimpleEdge()
212 …void impSubdivideToSimple(const B2DCubicBezier& rCandidate, B2DPolygon& rTarget, double fMaxCosQua… in impSubdivideToSimple() argument
214 if(!nMaxRecursionDepth || impIsSimpleEdge(rCandidate, fMaxCosQuad, fMaxPartOfEdgeQuad)) in impSubdivideToSimple()
216 …rTarget.appendBezierSegment(rCandidate.getControlPointA(), rCandidate.getControlPointB(), rCandida… in impSubdivideToSimple()
221 rCandidate.split(0.5, &aLeft, &aRight); in impSubdivideToSimple()
228 …B2DPolygon subdivideToSimple(const B2DPolygon& rCandidate, double fMaxCosQuad, double fMaxPartOfEd… in subdivideToSimple() argument
230 const sal_uInt32 nPointCount(rCandidate.count()); in subdivideToSimple()
232 if(rCandidate.areControlPointsUsed() && nPointCount) in subdivideToSimple()
234 const sal_uInt32 nEdgeCount(rCandidate.isClosed() ? nPointCount : nPointCount - 1); in subdivideToSimple()
239 aEdge.setStartPoint(rCandidate.getB2DPoint(0)); in subdivideToSimple()
246 aEdge.setControlPointA(rCandidate.getNextControlPoint(a)); in subdivideToSimple()
247 aEdge.setControlPointB(rCandidate.getPrevControlPoint(nNextIndex)); in subdivideToSimple()
248 aEdge.setEndPoint(rCandidate.getB2DPoint(nNextIndex)); in subdivideToSimple()
332 aRetval.setClosed(rCandidate.isClosed()); in subdivideToSimple()
339 return rCandidate; in subdivideToSimple()
792 const B2DPolygon& rCandidate, in createAreaGeometry() argument
827 B2DPolygon aCandidate(rCandidate); in createAreaGeometry()
972 return B2DPolyPolygon(rCandidate); in createAreaGeometry()