Lines Matching refs:y4
1714 function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) { argument
1727 ybase = base3(ct, y1, y2, y3, y4),
1733 function getTatLen(x1, y1, x2, y2, x3, y3, x4, y4, ll) { argument
1734 if (ll < 0 || bezlen(x1, y1, x2, y2, x3, y3, x4, y4) < ll) {
1742 l = bezlen(x1, y1, x2, y2, x3, y3, x4, y4, t2);
1746 l = bezlen(x1, y1, x2, y2, x3, y3, x4, y4, t2);
1750 function intersect(x1, y1, x2, y2, x3, y3, x4, y4) { argument
1754 mmax(y1, y2) < mmin(y3, y4) ||
1755 mmin(y1, y2) > mmax(y3, y4)
1759 var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4),
1760 ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4),
1761 denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);
1777 py2 < +mmin(y3, y4).toFixed(2) ||
1778 py2 > +mmax(y3, y4).toFixed(2)