Lines Matching refs:g

78         g = {  class in AnonymousFunction19fc41e60100
83 was: Object.prototype[has].call(g.win, "Raphael"),
84 is: g.win.Raphael
312 R._g = g;
319 …R.type = (g.win.SVGAngle || g.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Ba…
321 var d = g.doc.createElement("div"),
515 eve("raphael.setWindow", R, g.win, newwin);
516 g.win = newwin;
517 g.doc = g.win.document;
519 R._engine.initWin(g.win);
547 var i = g.doc.createElement("i");
550 g.doc.body.appendChild(i);
553 return g.doc.defaultView.getComputedStyle(i, E).getPropertyValue("color");
567 prepareRGB = function (r, g, b) { argument
568 if (g == null && R.is(r, "object") && "r" in r && "g" in r && "b" in r) {
570 g = r.g;
573 if (g == null && R.is(r, string)) {
576 g = clr.g;
579 if (r > 1 || g > 1 || b > 1) {
581 g /= 255;
585 return [r, g, b];
587 packageRGB = function (r, g, b, o) { argument
589 g *= 255;
593 g: g, property in AnonymousFunction19fc41e62100.rgb
595 hex: R.rgb(r, g, b),
627 clr.g = rgb.g;
633 clr.g = rgb.g;
649 clr.r = clr.g = clr.b = clr.h = clr.s = clr.v = clr.l = -1;
749 R.rgb2hsb = function (r, g, b) { argument
750 b = prepareRGB(r, g, b);
752 g = b[1];
756 V = mmax(r, g, b);
757 C = V - mmin(r, g, b);
759 V == r ? (g - b) / C :
760 V == g ? (b - r) / C + 2 :
761 (r - g) / C + 4
783 R.rgb2hsl = function (r, g, b) { argument
784 b = prepareRGB(r, g, b);
786 g = b[1];
790 M = mmax(r, g, b);
791 m = mmin(r, g, b);
794 M == r ? (g - b) / C :
795 M == g ? (b - r) / C + 2 :
796 (r - g) / C + 4);
831 var img = g.doc.createElement("img");
836 g.doc.body.removeChild(this);
839 g.doc.body.removeChild(this);
841 g.doc.body.appendChild(img);
878 return {r: -1, g: -1, b: -1, hex: "none", error: 1, toString: clrToString};
881 return {r: -1, g: -1, b: -1, hex: "none", toString: clrToString};
940 rgb = {r: red, g: green, b: blue, toString: clrToString}; property in AnonymousFunction19fc41e62900.rgb
945 return {r: -1, g: -1, b: -1, hex: "none", error: 1, toString: clrToString};
986 R.rgb = cacher(function (r, g, b) { argument
988 … return "#" + (16777216 | round(b) | (round(g) << 8) | (round(r) << 16)).toString(16).slice(1);
2378 container = h == null && !R.is(x, "object") ? g.doc.getElementById(x) : x;
2712 var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
2713 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;
2721 if (g.doc.addEventListener) {
2758 } else if (g.doc.attachEvent) {
2761 e = e || g.win.event;
2762 var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
2763 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
2783 scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
2784 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
2809 g.win.opera && parent.removeChild(node);
2813 g.win.opera && (next ? parent.insertBefore(node, next) : parent.appendChild(node));
3059 …s.push({name: eventName, f: fn, unbind: addEvent(this.shape || this.node || g.doc, eventName, fn, …
3214 scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
3215 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;
3549 … top = box.top + (g.win.pageYOffset || docElem.scrollTop || body.scrollTop ) - clientTop,
3550 … left = box.left + (g.win.pageXOffset || docElem.scrollLeft || body.scrollLeft) - clientLeft;
3573 target = g.doc.elementFromPoint(x, y);
3574 if (g.win.opera && target.tagName == "svg") {
4145 upto255(round(from[attr].g + pos * ms * diff[attr].g)),
4444 g: (toColour.g - from[attr].g) / ms, property in runAnimation.diff
5041 var g = shape.glow(glowConfig);
5042 if(g != null){
5043 g.forEach(function(shape2, index2){
5364 g.win.Raphael = oldRaphael.is;