Searched refs:arclength (Results 1 - 2 of 2) sorted by relevance

/inkscape/src/display/
H A Dcurve.cpp580 If I remember correctly, this moves the firstpoint to new_p0, and the lastpoint to new_p1, and moves all nodes in between according to their arclength (interpolates the movement amount)
593 Geom::Piecewise<Geom::SBasis> arclength = Geom::arcLengthSb(pwd2); local
594 if ( arclength.lastValue() <= 0 ) {
595 g_error("SPCurve::stretch_endpoints - arclength <= 0");
598 arclength *= 1./arclength.lastValue();
601 Geom::Piecewise<Geom::SBasis> offsetx = (arclength*-1.+1)*A[0] + arclength*B[0];
602 Geom::Piecewise<Geom::SBasis> offsety = (arclength*-1.+1)*A[1] + arclength*
[all...]
/inkscape/src/live_effects/
H A Dlpe-ruler.cpp129 Piecewise<SBasis> arclength = arcLengthSb(pwd2_in); local
130 double totlength = arclength.lastValue();
143 std::vector<std::vector<double> > roots = multi_roots(arclength, s_cuts);

Completed in 30 milliseconds