Lines Matching refs:o

780     R.is = function (o, type) {  argument
783 return !isnan[has](+o);
786 return o instanceof Array;
788 return (type == "null" && o === null) ||
789 (type == typeof o && o !== null) ||
790 (type == "object" && o === Object(o)) ||
791 (type == "array" && Array.isArray && Array.isArray(o)) ||
792 objectToString.call(o).slice(8, -1).toLowerCase() == type;
984 packageRGB = function (r, g, b, o) { argument
995 R.is(o, "finite") && (rgb.opacity = o);
1069 R.hsb2rgb = function (h, s, v, o) { argument
1074 o = h.o;
1087 return packageRGB(R, G, B, o);
1106 R.hsl2rgb = function (h, s, l, o) { argument
1128 return packageRGB(R, G, B, o);
3180 o,
3186 o = dragi.el.paper.getElementByPoint(x, y);
3189 o && eve("raphael.drag.over." + dragi.el.id, dragi.el, o);
5813 o = element.node,
5815 s = o.style,
5884 $(o, {
5894 updatePosition = function (o) { argument
5895 var bbox = o.getBBox(1);
5896 … $(o.pattern, {patternTransform: o.matrix.invert() + " translate(" + bbox.x + "," + bbox.y + ")"});
5898 addArrow = function (o, value, isEnd) { argument
5899 if (o.type == "path") {
5901 p = o.paper,
5903 node = o.node,
5904 attrs = o.attrs,
5949 if (o._.arrows) {
5951 o._.arrows.endPath && markerCounter[o._.arrows.endPath]--;
5952 o._.arrows.endMarker && markerCounter[o._.arrows.endMarker]--;
5954 o._.arrows.startPath && markerCounter[o._.arrows.startPath]--;
5955 o._.arrows.startMarker && markerCounter[o._.arrows.startMarker]--;
5958 o._.arrows = {};
5999 from = o._.arrows.startdx * stroke || 0;
6003 to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
6011 o._.arrows[se + "Path"] = pathId;
6012 o._.arrows[se + "Marker"] = markerId;
6013 o._.arrows[se + "dx"] = delta;
6014 o._.arrows[se + "Type"] = type;
6015 o._.arrows[se + "String"] = value;
6018 from = o._.arrows.startdx * stroke || 0;
6022 to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
6024 o._.arrows[se + "Path"] && $(node, {d: R.getSubpath(attrs.path, from, to)});
6025 delete o._.arrows[se + "Path"];
6026 delete o._.arrows[se + "Marker"];
6027 delete o._.arrows[se + "dx"];
6028 delete o._.arrows[se + "Type"];
6029 delete o._.arrows[se + "String"];
6051 addDashes = function (o, value, params) { argument
6054 var width = o.attrs["stroke-width"] || "1",
6055 …butt = {round: width, square: width, butt: 0}[o.attrs["stroke-linecap"] || params["stroke-linecap"…
6061 $(o.node, {"stroke-dasharray": dashes.join(",")});
6064 setFillAndStroke = function (o, params) { argument
6065 var node = o.node,
6066 attrs = o.attrs,
6078 o.blur(value);
6112 o.transform(value);
6115 addArrow(o, value);
6118 addArrow(o, value, 1);
6123 o.clip && o.clip.parentNode.parentNode.removeChild(o.clip.parentNode);
6134 o.paper.defs.appendChild(el);
6136 o.clip = rc;
6144 delete o.clip;
6149 if (o.type == "path") {
6151 o._.dirty = 1;
6152 if (o._.arrows) {
6153 "startString" in o._.arrows && addArrow(o, o._.arrows.startString);
6154 "endString" in o._.arrows && addArrow(o, o._.arrows.endString, 1);
6160 o._.dirty = 1;
6172 if (att == "rx" && o.type == "rect") {
6177 o.pattern && updatePosition(o);
6178 o._.dirty = 1;
6182 o._.dirty = 1;
6194 if (att == "ry" && o.type == "rect") {
6199 o.pattern && updatePosition(o);
6200 o._.dirty = 1;
6203 if (o.type == "rect") {
6208 o._.dirty = 1;
6211 if (o.type == "image") {
6216 if (o._.sx != 1 || o._.sy != 1) {
6217 value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;
6219 if (o.paper._vbSize) {
6220 value *= o.paper._vbSize;
6224 addDashes(o, attrs["stroke-dasharray"], params);
6226 if (o._.arrows) {
6227 "startString" in o._.arrows && addArrow(o, o._.arrows.startString);
6228 "endString" in o._.arrows && addArrow(o, o._.arrows.endString, 1);
6232 addDashes(o, value, params);
6250 o.paper.safari();
6253 o.paper.defs.appendChild(el);
6255 o.pattern = el;
6256 o.pattern && updatePosition(o);
6269 …} else if ((o.type == "circle" || o.type == "ellipse" || Str(value).charAt() != "r") && addGradien…
6286 if (att == "stroke" && o._.arrows) {
6287 "startString" in o._.arrows && addArrow(o, o._.arrows.startString);
6288 "endString" in o._.arrows && addArrow(o, o._.arrows.endString, 1);
6292 …(o.type == "circle" || o.type == "ellipse" || Str(value).charAt() != "r") && addGradientFill(o, va…
6314 o._.dirty = 1;
6321 tuneText(o, params);
7213 o = p.node,
7214 s = o.style,
7224 o.coordsize = abs(kx) + S + abs(ky);
7234 o.coordorigin = (dx * -kx) + S + (dy * -ky);
7236 var fill = o.getElementsByTagName(fillString);
7238 o.removeChild(fill);
7246 o.appendChild(fill);
7253 var addArrow = function (o, value, isEnd) { argument
7276 var stroke = o.node.getElementsByTagName("stroke")[0];
7281 setFillAndStroke = function (o, params) { argument
7283 o.attrs = o.attrs || {};
7284 var node = o.node,
7285 a = o.attrs,
7288 …newpath = pathTypes[o.type] && (params.x != a.x || params.y != a.y || params.width != a.width || p…
7289 …isOval = ovalTypes[o.type] && (a.cx != params.cx || a.cy != params.cy || a.r != params.r || a.rx !…
7290 res = o;
7297 a.path = R._getPath[o.type](o);
7298 o._.dirty = 1;
7304 "blur" in params && o.blur(params.blur);
7305 if (params.path && o.type == "path" || newpath) {
7307 if (o.type == "image") {
7308 o._.fillpos = [a.x, a.y];
7309 o._.fillsize = [a.width, a.height];
7310 setCoords(o, 1, 1, 0, 0, 0);
7313 "transform" in params && o.transform(params.transform);
7320 o._.dirty = 1;
7334 dstyle.width = o.paper.width + "px";
7335 dstyle.height = o.paper.height + "px";
7345 if (o.textpath) {
7346 var textpathStyle = o.textpath.style;
7375 if (o.type == "image" && params.src) {
7389 var bbox = o.getBBox(1);
7391 o._.fillpos = [bbox.x, bbox.y];
7394 o._.fillsize = [this.offsetWidth, this.offsetHeight];
7408 …opacity"] + 1 || 2) - 1) * ((+a.opacity + 1 || 2) - 1) * ((+R.getRGB(params.fill).o + 1 || 2) - 1);
7431 …a["stroke-opacity"] + 1 || 2) - 1) * ((+a.opacity + 1 || 2) - 1) * ((+strokeColor.o + 1 || 2) - 1);
7505 addGradientFill = function (o, gradient, fill) { argument
7506 o.attrs = o.attrs || {};
7507 var attrs = o.attrs,
7513 o.attrs.gradient = gradient;
7536 o = o.shape || o.node;
7538 o.removeChild(fill);
7559 o.appendChild(fill);
7606 o = this.node,
7616 o.style.filter = matrix.toFilter();
7621 o.coordorigin = (dx * -zoom) + S + (dy * -zoom);
7624 o.style.filter = E;
7628 o.style.filter = E;
7943 o = createNode("textpath");
7949 o.string = Str(text);
7950 o.on = true;
7963 p.textpath = o;
7971 el.appendChild(o);