Lines Matching refs:g

476         g = {  class in AnonymousFunctionaefe14e80600
481 was: Object.prototype[has].call(g.win, "Raphael"),
482 is: g.win.Raphael
523 …supportsTouch = ('ontouchstart' in g.win) || g.win.DocumentTouch && g.doc instanceof DocumentTouch…
708 R._g = g;
715 …R.type = (g.win.SVGAngle || g.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Ba…
717 var d = g.doc.createElement("div"),
912 eve("raphael.setWindow", R, g.win, newwin);
913 g.win = newwin;
914 g.doc = g.win.document;
916 R._engine.initWin(g.win);
944 var i = g.doc.createElement("i");
947 g.doc.body.appendChild(i);
950 return g.doc.defaultView.getComputedStyle(i, E).getPropertyValue("color");
964 prepareRGB = function (r, g, b) { argument
965 if (g == null && R.is(r, "object") && "r" in r && "g" in r && "b" in r) {
967 g = r.g;
970 if (g == null && R.is(r, string)) {
973 g = clr.g;
976 if (r > 1 || g > 1 || b > 1) {
978 g /= 255;
982 return [r, g, b];
984 packageRGB = function (r, g, b, o) { argument
986 g *= 255;
990 g: g, property in AnonymousFunctionaefe14e82600.rgb
992 hex: R.rgb(r, g, b),
1024 clr.g = rgb.g;
1030 clr.g = rgb.g;
1046 clr.r = clr.g = clr.b = clr.h = clr.s = clr.v = clr.l = -1;
1146 R.rgb2hsb = function (r, g, b) { argument
1147 b = prepareRGB(r, g, b);
1149 g = b[1];
1153 V = mmax(r, g, b);
1154 C = V - mmin(r, g, b);
1156 V == r ? (g - b) / C :
1157 V == g ? (b - r) / C + 2 :
1158 (r - g) / C + 4
1180 R.rgb2hsl = function (r, g, b) { argument
1181 b = prepareRGB(r, g, b);
1183 g = b[1];
1187 M = mmax(r, g, b);
1188 m = mmin(r, g, b);
1191 M == r ? (g - b) / C :
1192 M == g ? (b - r) / C + 2 :
1193 (r - g) / C + 4);
1228 var img = g.doc.createElement("img");
1233 g.doc.body.removeChild(this);
1236 g.doc.body.removeChild(this);
1238 g.doc.body.appendChild(img);
1275 return {r: -1, g: -1, b: -1, hex: "none", error: 1, toString: clrToString};
1278 return {r: -1, g: -1, b: -1, hex: "none", toString: clrToString};
1337 rgb = {r: red, g: green, b: blue, toString: clrToString}; property in AnonymousFunctionaefe14e82e00.rgb
1342 return {r: -1, g: -1, b: -1, hex: "none", error: 1, toString: clrToString};
1383 R.rgb = cacher(function (r, g, b) { argument
1384 return "#" + (16777216 | b | (g << 8) | (r << 16)).toString(16).slice(1);
2733 container = h == null && !R.is(x, "object") ? g.doc.getElementById(x) : x;
3087 var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
3088 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;
3096 if (g.doc.addEventListener) {
3133 } else if (g.doc.attachEvent) {
3136 e = e || g.win.event;
3137 var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
3138 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
3158 scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
3159 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,
3184 g.win.opera && parent.removeChild(node);
3188 g.win.opera && (next ? parent.insertBefore(node, next) : parent.appendChild(node));
3434 …s.push({name: eventName, f: fn, unbind: addEvent(this.shape || this.node || g.doc, eventName, fn, …
3589 scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,
3590 scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;
3909 … top = box.top + (g.win.pageYOffset || docElem.scrollTop || body.scrollTop ) - clientTop,
3910 … left = box.left + (g.win.pageXOffset || docElem.scrollLeft || body.scrollLeft) - clientLeft;
3933 target = g.doc.elementFromPoint(x, y);
3934 if (g.win.opera && target.tagName == "svg") {
4505 upto255(round(from[attr].g + pos * ms * diff[attr].g)),
4805 g: (toColour.g - from[attr].g) / ms, property in runAnimation.diff
5388 var g = shape.glow(glowConfig);
5389 if(g != null){
5390 g.forEach(function(shape2, index2){
5711 oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete Raphael;
8108 oldRaphael.was ? (g.win.Raphael = R) : (Raphael = R);