Lines Matching refs:y

596             y: 0
618 y: nu
639 rectPath = R._rectPath = function (x, y, w, h, r) { argument
641 …return [["M", x + r, y], ["l", w - r * 2, 0], ["a", r, r, 0, 0, 1, r, r], ["l", 0, h - r * 2], ["a…
643 return [["M", x, y], ["l", w, 0], ["l", 0, h], ["l", -w, 0], ["z"]];
645 ellipsePath = function (x, y, rx, ry) { argument
649 …return [["M", x, y], ["m", 0, -ry], ["a", rx, ry, 0, 1, 1, 0, 2 * ry], ["a", rx, ry, 0, 1, 1, 0, -…
665 return rectPath(a.x, a.y, a.width, a.height, a.r);
669 return rectPath(a.x, a.y, a.width, a.height);
673 return rectPath(bbox.x, bbox.y, bbox.width, bbox.height);
677 return rectPath(bbox.x, bbox.y, bbox.width, bbox.height);
694 var x, y, i, j, ii, jj, pathi;
700 y = matrix.y(pathi[j], pathi[j + 1]);
702 pathi[j + 1] = y;
823 y = y1 - y2;
824 if (!x && !y) {
827 return (180 + math.atan2(-y, -x) * 180 / PI + 360) % 360;
1421 {x: +crp[i - 2], y: +crp[i - 1]},
1422 {x: +crp[i], y: +crp[i + 1]},
1423 {x: +crp[i + 2], y: +crp[i + 3]},
1424 {x: +crp[i + 4], y: +crp[i + 5]}
1428 p[0] = {x: +crp[iLen - 2], y: +crp[iLen - 1]}; property in catmullRom2bezier.p
1430 p[3] = {x: +crp[0], y: +crp[1]}; property in catmullRom2bezier.p
1432 p[2] = {x: +crp[0], y: +crp[1]}; property in catmullRom2bezier.p
1433 p[3] = {x: +crp[2], y: +crp[3]}; property in catmullRom2bezier.p
1439 p[0] = {x: +crp[i], y: +crp[i + 1]}; property in catmullRom2bezier.p
1444 (-p[0].y + 6 * p[1].y + p[2].y) / 6,
1446 (p[1].y + 6*p[2].y - p[3].y) / 6,
1448 p[2].y
1603 y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y,
1616 y: y,
1617 m: {x: mx, y: my},
1618 n: {x: nx, y: ny},
1619 start: {x: ax, y: ay},
1620 end: {x: cx, y: cy},
1661 y: bbox.min.y,
1663 y2: bbox.max.y,
1665 height: bbox.max.y - bbox.min.y
1681 R.isPointInsideBBox = function (bbox, x, y) { argument
1682 return x >= bbox.x && x <= bbox.x2 && y >= bbox.y && y <= bbox.y2;
1698 return i(bbox2, bbox1.x, bbox1.y)
1699 || i(bbox2, bbox1.x2, bbox1.y)
1702 || i(bbox1, bbox2.x, bbox2.y)
1703 || i(bbox1, bbox2.x2, bbox2.y)
1707 && (bbox1.y < bbox2.y2 && bbox1.y > bbox2.y || bbox2.y < bbox1.y2 && bbox2.y > bbox1.y);
1782 return {x: px, y: py};
1806 dots1.push({x: p.x, y: p.y, t: i / n1});
1810 dots2.push({x: p.x, y: p.y, t: i / n2});
1820 is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);
1822 if (xy[is.x.toFixed(4)] == is.y.toFixed(4)) {
1825 xy[is.x.toFixed(4)] = is.y.toFixed(4);
1834 y: is.y,
1941 R.isPointInsidePath = function (path, x, y) { argument
1943 return R.isPointInsideBBox(bbox, x, y) &&
1944 interPathHelper(path, [["M", x, y], ["H", bbox.x2 + 10]], 1) % 2 == 1;
1978 return {x: 0, y: 0, width: 0, height: 0, x2: 0, y2: 0};
1982 y = 0,
1990 y = p[2];
1992 Y.push(y);
1994 var dim = curveDim(x, y, p[1], p[2], p[3], p[4], p[5], p[6]);
1996 Y = Y[concat](dim.min.y, dim.max.y);
1998 y = p[6];
2009 y: ymin,
2035 y = 0,
2041 y = pathArray[0][2];
2043 my = y;
2045 res.push(["M", x, y]);
2060 r[7] = +(pa[7] - y).toFixed(3);
2063 r[1] = +(pa[1] - y).toFixed(3);
2070 r[j] = +(pa[j] - ((j % 2) ? x : y)).toFixed(3);
2077 my = pa[2] + y;
2087 y = my;
2093 y += +res[i][len - 1];
2097 y += +res[i][len - 1];
2117 y = 0,
2123 y = +pathArray[0][2];
2125 my = y;
2127 res[0] = ["M", x, y];
2143 r[7] = +(pa[7] + y);
2146 r[1] = +pa[1] + y;
2152 var dots = [x, y][concat](pa.slice(1));
2155 dots[++j] = +dots[j] + y;
2162 my = +pa[2] + y;
2165 r[j] = +pa[j] + ((j % 2) ? x : y);
2169 dots = [x, y][concat](pa.slice(1));
2181 y = my;
2187 y = r[1];
2194 y = r[r.length - 1];
2223 rotate = cacher(function (x, y, rad) { argument
2224 var X = x * math.cos(rad) - y * math.sin(rad),
2225 Y = x * math.sin(rad) + y * math.cos(rad);
2226 return {x: X, y: Y};
2231 y1 = xy.y;
2234 y2 = xy.y;
2238 y = (y1 - y2) / 2;
2239 var h = (x * x) / (rx * rx) + (y * y) / (ry * ry);
2248 … math.sqrt(abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x))),
2249 cx = k * rx * y / ry + (x1 + x2) / 2,
2300 … newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;
2309y: pow(t1, 3) * p1y + pow(t1, 2) * 3 * t * c1y + t1 * 3 * t * t * c2y + pow(t, 3) * p2y
2318 y = [p1y, p2y],
2326 y.push(dot.y);
2331 y.push(dot.y);
2343 y.push(dot.y);
2348 y.push(dot.y);
2351 min: {x: mmin[apply](0, x), y: mmin[apply](0, y)},
2352 max: {x: mmax[apply](0, x), y: mmax[apply](0, y)}
2362 attrs = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null}, property in AnonymousFunctionaefe14e84f00.attrs
2363 attrs2 = {x: 0, y: 0, bx: 0, by: 0, X: 0, Y: 0, qx: null, qy: null}, property in AnonymousFunctionaefe14e84f00.attrs2
2367 return ["C", d.x, d.y, d.x, d.y, d.x, d.y];
2376 path = ["C"][concat](a2c[apply](0, [d.x, d.y][concat](path.slice(1))));
2381 … ny = d.y * 2 - d.by; // command's control point relative to the current point.
2385 ny = d.y;
2392 d.qy = d.y * 2 - d.qy; // to case "S".
2396 d.qy = d.y;
2398 path = ["C"][concat](q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));
2403 path = ["C"][concat](q2c(d.x, d.y, path[1], path[2], path[3], path[4]));
2406 path = ["C"][concat](l2c(d.x, d.y, path[1], path[2]));
2409 path = ["C"][concat](l2c(d.x, d.y, path[1], d.y));
2412 path = ["C"][concat](l2c(d.x, d.y, d.x, path[1]));
2415 path = ["C"][concat](l2c(d.x, d.y, d.X, d.Y));
2433 path2.splice(i, 0, ["M", a2.x, a2.y]);
2437 a1.y = path1[i][2];
2453 attrs.y = seg[seglen - 1];
2455 attrs.by = toFloat(seg[seglen - 3]) || attrs.y;
2457 attrs2.by = p2 && (toFloat(seg2[seg2len - 3]) || attrs2.y);
2459 attrs2.y = p2 && seg2[seg2len - 1];
2614 y1 = inver.y(0, 0);
2616 y2 = inver.y(t[1], t[2]);
2624 m.rotate(t[1], bb.x + bb.width / 2, bb.y + bb.height / 2);
2629 y2 = inver.y(t[2], t[3]);
2639 m.scale(t[1], t[tlen - 1], bb.x + bb.width / 2, bb.y + bb.height / 2);
2645 y2 = inver.y(t[3], t[4]);
2677 _.bbox.y += +dy;
2731 R._getContainer = function (x, y, w, h) { argument
2738 if (y == null) {
2747 width: y,
2755 y: y,
2841 x, y, z, res;
2848 for (y = 0; y < 3; y++) {
2851 res += m[x][z] * matrix[z][y];
2853 out[x][y] = res;
2894 matrixproto.translate = function (x, y) { argument
2895 this.add(1, 0, 0, 1, x, y);
2908 matrixproto.scale = function (x, y, cx, cy) { argument
2909 y == null && (y = x);
2911 this.add(x, 0, 0, y, 0, 0);
2924 matrixproto.rotate = function (a, x, y) { argument
2927 y = y || 0;
2930 this.add(cos, sin, -sin, cos, x, y);
2931 this.add(1, 0, 0, 1, -x, -y);
2943 matrixproto.x = function (x, y) { argument
2944 return x * this.a + y * this.c + this.e;
2956 matrixproto.y = function (x, y) { argument
2957 return x * this.b + y * this.d + this.f;
3092 y: e.clientY + scrollY
3100 return fn.call(element, e, pos.x, pos.y);
3119 return fn.call(element, e, pos.x, pos.y);
3140 y = e.clientY + scrollY;
3143 return fn.call(element, e, x, y);
3157 y = e.clientY,
3171 y = touch.clientY;
3186 o = dragi.el.paper.getElementByPoint(x, y);
3191 y += scrollY;
3192 … + dragi.el.id, dragi.move_scope || dragi.el, x - dragi.el._drag.x, y - dragi.el._drag.y, x, y, e);
3588 y = e.clientY,
3599 y = touch.clientY;
3605 this._drag.y = y + scrollY;
3661 paperproto.circle = function (x, y, r) { argument
3662 var out = R._engine.circle(this, x || 0, y || 0, r || 0);
3687 paperproto.rect = function (x, y, w, h, r) { argument
3688 var out = R._engine.rect(this, x || 0, y || 0, w || 0, h || 0, r || 0);
3709 paperproto.ellipse = function (x, y, rx, ry) { argument
3710 var out = R._engine.ellipse(this, x || 0, y || 0, rx || 0, ry || 0);
3770 paperproto.image = function (src, x, y, w, h) { argument
3771 var out = R._engine.image(this, src || "about:blank", x || 0, y || 0, w || 0, h || 0);
3791 paperproto.text = function (x, y, text) { argument
3792 var out = R._engine.text(this, x || 0, y || 0, Str(text));
3880 paperproto.setViewBox = function (x, y, w, h, fit) { argument
3881 return R._engine.setViewBox.call(this, x, y, w, h, fit);
3912 y: top,
3930 paperproto.getElementByPoint = function (x, y) { argument
3933 target = g.doc.elementFromPoint(x, y);
3938 sr.y = y - so.y;
4038 paperproto.getElementsByPoint = function (x, y) { argument
4041 if (el.isPointInside(x, y)) {
4048 return this.x + S + this.y;
4051 return this.x + S + this.y + S + this.width + " \xd7 " + this.height;
4065 elproto.isPointInside = function (x, y) { argument
4070 return R.isPointInsidePath(rp, x, y);
4193 var x, y, p, l, sp = "", subpaths = {}, point,
4199 y = +p[2];
4201 l = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6]);
4204 … point = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6], length - len);
4205 … sp += ["C" + point.start.x, point.start.y, point.m.x, point.m.y, point.x, point.y];
4208 …sp = ["M" + point.x, point.y + "C" + point.n.x, point.n.y, point.end.x, point.end.y, p[5], p[6]].j…
4211 y = +p[6];
4215 … point = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6], length - len);
4216 return {x: point.x, y: point.y, alpha: point.alpha};
4221 y = +p[6];
4226 …point = istotal ? len : subpath ? subpaths : R.findDotsAtSegment(x, y, p[0], p[1], p[2], p[3], p[4…
4227 point.alpha && (point = {x: point.x, y: point.y, alpha: point.alpha});
4406 y = -Q - q,
4407 Y = pow(abs(y), 1 / 3) * (y < 0 ? -1 : 1),
4619 x, y;
5351 y = [],
5357 y.push(box.y);
5359 y2.push(box.y + box.height);
5362 y = mmin[apply](0, y);
5367 y: y,
5371 height: y2 - y
5411 setproto.isPointInside = function (x, y) { argument
5414 if (el.isPointInside(x, y)) {
5542 paperproto.print = function (x, y, string, font, size, origin, letter_spacing, line_spacing) { argument
5572 …le, shifty * scale, "s", scale, scale, top, height, "t", (x - top) / scale, (y - height) / scale]);
5897 … $(o.pattern, {patternTransform: o.matrix.invert() + " translate(" + bbox.x + "," + bbox.y + ")"});
6123 y: rect[1],
6179 value = attrs.y;
6185 value = -attrs.y - (attrs.height || 0);
6234 … $(el, {x: 0, y: 0, patternUnits: "userSpaceOnUse", height: 1, width: 1});
6235 $(ig, {x: 0, y: 0, "xlink:href": isURL[1]});
6350 $(node, {x: a.x, y: a.y});
6353 dif = a.y - (bb.y + bb.height / 2);
6484 cy = bbox.y + bbox.height / 2;
6521 cy = cy == null ? bbox.y + bbox.height / 2 : cy;
6910 R._engine.circle = function (svg, x, y, r) { argument
6914 res.attrs = {cx: x, cy: y, r: r, fill: "none", stroke: "#000"};
6919 R._engine.rect = function (svg, x, y, w, h, r) { argument
6923 …res.attrs = {x: x, y: y, width: w, height: h, r: r || 0, rx: r || 0, ry: r || 0, fill: "none", str… property in res.attrs
6928 R._engine.ellipse = function (svg, x, y, rx, ry) { argument
6932 res.attrs = {cx: x, cy: y, rx: rx, ry: ry, fill: "none", stroke: "#000"};
6937 R._engine.image = function (svg, src, x, y, w, h) { argument
6939 $(el, {x: x, y: y, width: w, height: h, preserveAspectRatio: "none"});
6943 res.attrs = {x: x, y: y, width: w, height: h, src: src}; property in res.attrs
6947 R._engine.text = function (svg, x, y, text) { argument
6953 y: y, property in res.attrs
6978 y = con.y,
6988 y = y || 0;
6998 cnvs.style.cssText = css + "position:absolute;left:" + x + "px;top:" + y + "px";
7019 R._engine.setViewBox = function (x, y, w, h, fit) { argument
7020 eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
7034 vb = x + S + y + S + w + S + h;
7047 this._viewBox = [x, y, w, h, !!fit];
7200 dy: m.y(dx, dy)
7209 y = 1,
7226 sy < 0 && (flip += " y") && (y = -1);
7234 c = compensation(deg, m.x(fillpos[0], fillpos[1]), m.y(fillpos[0], fillpos[1]));
7235 fill.position = c.dx * y + S + c.dy * y;
7282 …newpath = pathTypes[o.type] && (params.x != a.x || params.y != a.y || params.width != a.width || p…
7302 o._.fillpos = [a.x, a.y];
7384 fill.position = bbox.x + S + bbox.y;
7385 o._.fillpos = [bbox.x, bbox.y];
7471 res.Y = a.y + res.H / 2;
7473 …s) && (res.path.v = R.format("m{0},{1}l{2},{1}", round(a.x * zoom), round(a.y * zoom), round(a.x *…
7614 dy = bb.y - bbt.y;
7646 cy = bbox.y + bbox.height / 2;
7664 this._.bbox.y += dy;
7688 cy = cy == null ? bbox.y + bbox.height / 2 : cy;
7708 y: this.Y - this.H,
7868 R._engine.rect = function (vml, x, y, w, h, r) { argument
7869 var path = R._rectPath(x, y, w, h, r),
7873 res.Y = a.y = y;
7881 R._engine.ellipse = function (vml, x, y, rx, ry) { argument
7885 res.Y = y - ry;
7891 cy: y,
7897 R._engine.circle = function (vml, x, y, r) { argument
7901 res.Y = y - r;
7906 cy: y,
7911 R._engine.image = function (vml, src, x, y, w, h) { argument
7912 var path = R._rectPath(x, y, w, h),
7919 res.Y = a.y = y;
7928 res._.fillpos = [x, y];
7934 R._engine.text = function (vml, x, y, text) { argument
7939 y = y || 0;
7941 … path.v = R.format("m{0},{1}l{2},{1}", round(x * zoom), round(y * zoom), round(x * zoom) + 1);
7961 p.attrs.y = y;
7989 R._engine.setViewBox = function (x, y, w, h, fit) { argument
7990 R.eve("raphael.setViewBox", this, this._viewBox, [x, y, w, h, fit]);
8002 y -= (height - h * W) / 2 / W;
8005 this._viewBox = [x, y, w, h, !!fit];
8008 dy: -y,
8039 y = con.y;
8047 y = y || 0;
8063 cs.top = y + "px";