Lines Matching refs:R

1 define(["./raphael.core"], function(R) {  argument
2 if (R && !R.svg) {
15 eve = R.eve,
27 R.toString = function () {
43 el = R._g.doc.createElementNS("http://www.w3.org/2000/svg", el);
55 el = R._g.doc.getElementById(id);
57 gradient = Str(gradient).replace(R._radial_gradient, function (all, _fx, _fy) {
77 var vector = [0, 0, math.cos(R.rad(angle)), math.sin(R.rad(angle))],
90 var dots = R._parseDots(gradient);
220 if (!R._g.doc.getElementById(pathId)) {
230 var marker = R._g.doc.getElementById(markerId),
257 to = R.getTotalLength(attrs.path) - delta * stroke;
260 to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
265 attr.d = R.getSubpath(attrs.path, from, to);
276 to = R.getTotalLength(attrs.path) - from;
279 to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
281 o._.arrows[se + "Path"] && $(node, {d: R.getSubpath(attrs.path, from, to)});
289 var item = R._g.doc.getElementById(attr);
329 if (!R._availableAttrs[has](att)) {
346 var val = R._g.doc.createTextNode(value);
384 el.id = R.createUUID();
399 … var clip = R._g.doc.getElementById(path.replace(/(^url\(#|\)$)/g, E));
408 $(node, {d: value ? attrs.path = R._pathToAbsolute(value) : "M0,0"});
490 var isURL = Str(value).match(R._ISURL);
494 el.id = R.createUUID();
500 R._preload(isURL[1], function () {
513 var clr = R.getRGB(value);
517 !R.is(attrs.opacity, "undefined") &&
518 R.is(params.opacity, "undefined") &&
520 !R.is(attrs["fill-opacity"], "undefined") &&
521 R.is(params["fill-opacity"], "undefined") &&
525 … var gradient = R._g.doc.getElementById(node.getAttribute("fill").replace(/^url\(#|\)$/g, E));
537 clr = R.getRGB(value);
555 … gradient = R._g.doc.getElementById(node.getAttribute("fill").replace(/^url\(#|\)$/g, E));
585 …fontSize = node.firstChild ? toInt(R._g.doc.defaultView.getComputedStyle(node.firstChild, E).getPr…
598 tspan.appendChild(R._g.doc.createTextNode(texts[i]));
614 dif && R.is(dif, "finite") && $(tspans[0], {dy: dif});
672 this.matrix = R.matrix();
715 elproto = R.el;
720 R._engine.path = function (pathString, SVG) {
867 R._extractTransform(this, tstr);
919 R._tear(this, paper);
927 this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
1063 if (value == null && R.is(name, "string")) {
1076 } else if (R.is(this.paper.customAttributes[name], "function")) {
1079 out[name] = R._availableAttrs[name];
1084 if (value == null && R.is(name, "array")) {
1094 } else if (name != null && R.is(name, "object")) {
1100 …ttributes) if (this.paper.customAttributes[has](key) && params[has](key) && R.is(this.paper.custom…
1124 svg.top != this && R._tofront(this, svg);
1141 R._toback(this, this.paper);
1164 R._insertafter(this, element, this.paper);
1182 R._insertbefore(this, element, this.paper);
1192 fltr.id = R.createUUID();
1208 R._engine.circle = function (svg, x, y, r) {
1217 R._engine.rect = function (svg, x, y, w, h, r) {
1226 R._engine.ellipse = function (svg, x, y, rx, ry) {
1235 R._engine.image = function (svg, src, x, y, w, h) {
1245 R._engine.text = function (svg, x, y, text) {
1254 "font-family": R._availableAttrs["font-family"],
1255 "font-size": R._availableAttrs["font-size"],
1263 R._engine.setSize = function (width, height) {
1273 R._engine.create = function () {
1274 var con = R._getContainer.apply(0, arguments),
1299 R._g.doc.body.appendChild(cnvs);
1309 container = new R._Paper;
1319 R._engine.setViewBox = function (x, y, w, h, fit) {
1361 R.prototype.renderfix = function () {
1389 R.prototype.clear = function () {
1390 R.eve("raphael.clear", this);
1396 …(this.desc = $("desc")).appendChild(R._g.doc.createTextNode("Created with Rapha\xebl " + R.version…
1406 R.prototype.remove = function () {
1410 this[i] = typeof this[i] == "function" ? R._removedFactory(i) : null;
1413 var setproto = R.st;