Lines Matching refs:rx
4139 rx: value,
4622 proto.rect = function (x, y, w, h, rx, ry) { argument
4625 ry = rx;
4636 if (rx != null) {
4637 attr.rx = rx;
4751 proto.ellipse = function (cx, cy, rx, ry) { argument
4759 rx: rx, property in proto.ellipse.attr
5776 function ellipsePath(x, y, rx, ry, a) { argument
5778 ry = rx;
5782 rx = +rx;
5786 x1 = x + rx * Math.cos(-ry * rad),
5787 x2 = x + rx * Math.cos(-a * rad),
5788 y1 = y + rx * Math.sin(-ry * rad),
5789 y2 = y + rx * Math.sin(-a * rad),
5790 res = [["M", x1, y1], ["A", rx, rx, 0, +(a - ry > 180), 0, x2, y2]];
5795 ["a", rx, ry, 0, 1, 1, 0, 2 * ry],
5796 ["a", rx, ry, 0, 1, 1, 0, -2 * ry],
5814 return ellipsePath(attr.cx || 0, attr.cy || 0, attr.rx, attr.ry);
5818 return rectPath(attr.x || 0, attr.y || 0, attr.width, attr.height, attr.rx, attr.ry);
6058 function a2c(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) { argument
6081 var h = (x * x) / (rx * rx) + (y * y) / (ry * ry);
6084 rx = h * rx;
6087 var rx2 = rx * rx,
6091 cx = k * rx * y / ry + (x1 + x2) / 2,
6092 cy = k * -ry * x / rx + (y1 + y2) / 2,
6118 x2 = cx + rx * math.cos(f2);
6120 res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);
6128 hx = 4 / 3 * rx * t,