Lines Matching refs:res

34                 var res = Str(path).replace(bites, function (all, command, args) {
37 res = map[command];
40 res += vals + map[command == "m" ? "l" : "L"];
45 return res + vals;
47 return res;
50 res = [];
58 res.push(r);
60 return res.join(S);
151 res = o;
216 addArrow(res, params["arrow-start"]);
219 addArrow(res, params["arrow-end"], 1);
261 …etRGB(params.fill).error && (res.type in {circle: 1, ellipse: 1} || Str(params.fill).charAt() != "…
320 if (res.type == "text") {
321 res.paper.canvas.style.display = E;
322 var span = res.paper.span,
332res.textpath.string && (span.innerHTML = Str(res.textpath.string).replace(/</g, "&#60;").replace(/…
334 res.W = a.w = (brect.right - brect.left) / m;
335 res.H = a.h = (brect.bottom - brect.top) / m;
337 res.X = a.x;
338 res.Y = a.y + res.H / 2;
340 …("x" in params || "y" in params) && (res.path.v = R.format("m{0},{1}l{2},{1}", round(a.x * zoom), …
343 res._.dirty = 1;
350 res.textpath.style["v-text-align"] = "left";
351 res.bbx = res.W / 2;
354 res.textpath.style["v-text-align"] = "right";
355 res.bbx = -res.W / 2;
358 res.textpath.style["v-text-align"] = "center";
359 res.bbx = 0;
362 res.textpath.style["v-text-kern"] = true;
622 var res = {};
624 res[a] = this.attrs[a];
626 res.gradient && res.fill == "none" && (res.fill = res.gradient) && delete res.gradient;
627 res.transform = this._.transform;
628 return res;
760 res = vml.path(path),
761 a = res.attrs;
762 res.X = a.x = x;
763 res.Y = a.y = y;
764 res.W = a.width = w;
765 res.H = a.height = h;
768 res.type = "rect";
769 return res;
772 var res = vml.path(),
773 a = res.attrs;
774 res.X = x - rx;
775 res.Y = y - ry;
776 res.W = rx * 2;
777 res.H = ry * 2;
778 res.type = "ellipse";
779 setFillAndStroke(res, {
785 return res;
788 var res = vml.path(),
789 a = res.attrs;
790 res.X = x - r;
791 res.Y = y - r;
792 res.W = res.H = r * 2;
793 res.type = "circle";
794 setFillAndStroke(res, {
799 return res;
803 res = vml.path(path).attr({stroke: "none"}),
804 a = res.attrs,
805 node = res.node,
808 res.X = a.x = x;
809 res.Y = a.y = y;
810 res.W = a.width = w;
811 res.H = a.height = h;
813 res.type = "image";
818 res._.fillpos = [x, y];
819 res._.fillsize = [w, h];
821 setCoords(res, 1, 1, 0, 0, 0);
822 return res;
939 var res = new R._Paper,
940 c = res.canvas = R._g.doc.createElement("div"),
946 res.width = width;
947 res.height = height;
950 res.coordsize = zoom * 1e3 + S + zoom * 1e3;
951 res.coordorigin = "0 0";
952 res.span = R._g.doc.createElement("span");
953res.span.style.cssText = "position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-heigh…
954 c.appendChild(res.span);
968 res.renderfix = function () {};
969 return res;