geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1341757 [7/10] - in /geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo: dijit/nls/ dijit/nls/ar/ dijit/nls/ca/ dijit/nls/cs/ dijit/nls/da/ dijit/nls/de/ dijit/nls/el/ dijit/nls/es/ dijit/nls/fi/ d...
Date Wed, 23 May 2012 06:24:37 GMT
Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.VectorText"]){dojo._hasResource["dojox.gfx.VectorText"]=true;dojo.provide("dojox.gfx.VectorText");dojo.require("dojox.gfx");dojo.require("dojox.xml.DomParser");dojo.require("dojox.html.metrics");(function(){dojo.mixin(dojox.gfx,{vectorFontFitting:{NONE:0,FLOW:1,FIT:2},defaultVectorText:{type:"vectortext",x:0,y:0,width:null,height:null,text:"",align:"start",decoration:"none",fitting:0,leading:1.5},defaultVectorFont:{type:"vectorfont",size:"10pt",family:null},_vectorFontCache:{},_svgFontCache:{},getVectorFont:function(_1){if(dojox.gfx._vectorFontCache[_1]){return dojox.gfx._vectorFontCache[_1];}return new dojox.gfx.VectorFont(_1);}});dojo.declare("dojox.gfx.VectorFont",null,{_entityRe:/&(quot|apos|lt|gt|amp|#x[^;]+|#\d+);/g,_decodeEntitySequence:function(_2){if(!_2.match(this._entityRe)){return;}var _3={amp:"&",apos:"'",quot:"\"",lt:"<",gt:">"};var r,_4="";while((r=this._entityRe.exec(_2))!==null){if(r[1].charAt(1)=="x"){_4+=String.fromCharCode
 (parseInt(r[1].slice(2),16));}else{if(!isNaN(parseInt(r[1].slice(1),10))){_4+=String.fromCharCode(parseInt(r[1].slice(1),10));}else{_4+=_3[r[1]]||"";}}}return _4;},_parse:function(_5,_6){var _7=dojox.gfx._svgFontCache[_6]||dojox.xml.DomParser.parse(_5);var f=_7.documentElement.byName("font")[0],_8=_7.documentElement.byName("font-face")[0];var _9=parseFloat(_8.getAttribute("units-per-em")||1000,10);var _a={x:parseFloat(f.getAttribute("horiz-adv-x"),10),y:parseFloat(f.getAttribute("vert-adv-y")||0,10)};if(!_a.y){_a.y=_9;}var _b={horiz:{x:parseFloat(f.getAttribute("horiz-origin-x")||0,10),y:parseFloat(f.getAttribute("horiz-origin-y")||0,10)},vert:{x:parseFloat(f.getAttribute("vert-origin-x")||0,10),y:parseFloat(f.getAttribute("vert-origin-y")||0,10)}};var _c=_8.getAttribute("font-family"),_d=_8.getAttribute("font-style")||"all",_e=_8.getAttribute("font-variant")||"normal",_f=_8.getAttribute("font-weight")||"all",_10=_8.getAttribute("font-stretch")||"normal",_11=_8.getAttribute(
 "unicode-range")||"U+0-10FFFF",_12=_8.getAttribute("panose-1")||"0 0 0 0 0 0 0 0 0 0",_13=_8.getAttribute("cap-height"),_14=parseFloat(_8.getAttribute("ascent")||(_9-_b.vert.y),10),_15=parseFloat(_8.getAttribute("descent")||_b.vert.y,10),_16={};var _17=_c;if(_8.byName("font-face-name")[0]){_17=_8.byName("font-face-name")[0].getAttribute("name");}if(dojox.gfx._vectorFontCache[_17]){return;}dojo.forEach(["alphabetic","ideographic","mathematical","hanging"],function(_18){var a=_8.getAttribute(_18);if(a!==null){_16[_18]=parseFloat(a,10);}});var _19=parseFloat(_7.documentElement.byName("missing-glyph")[0].getAttribute("horiz-adv-x")||_a.x,10);var _1a={},_1b={},g=_7.documentElement.byName("glyph");dojo.forEach(g,function(_1c){var _1d=_1c.getAttribute("unicode"),_17=_1c.getAttribute("glyph-name"),_1e=parseFloat(_1c.getAttribute("horiz-adv-x")||_a.x,10),_1f=_1c.getAttribute("d");if(_1d.match(this._entityRe)){_1d=this._decodeEntitySequence(_1d);}var o={code:_1d,name:_17,xAdvance:_1e,
 path:_1f};_1a[_1d]=o;_1b[_17]=o;},this);var _20=_7.documentElement.byName("hkern");dojo.forEach(_20,function(_21,i){var k=-parseInt(_21.getAttribute("k"),10);var u1=_21.getAttribute("u1"),g1=_21.getAttribute("g1"),u2=_21.getAttribute("u2"),g2=_21.getAttribute("g2"),gl;if(u1){u1=this._decodeEntitySequence(u1);if(_1a[u1]){gl=_1a[u1];}}else{if(_1b[g1]){gl=_1b[g1];}}if(gl){if(!gl.kern){gl.kern={};}if(u2){u2=this._decodeEntitySequence(u2);gl.kern[u2]={x:k};}else{if(_1b[g2]){gl.kern[_1b[g2].code]={x:k};}}}},this);dojo.mixin(this,{family:_c,name:_17,style:_d,variant:_e,weight:_f,stretch:_10,range:_11,viewbox:{width:_9,height:_9},origin:_b,advance:dojo.mixin(_a,{missing:{x:_19,y:_19}}),ascent:_14,descent:_15,baseline:_16,glyphs:_1a});dojox.gfx._vectorFontCache[_17]=this;dojox.gfx._vectorFontCache[_6]=this;if(_17!=_c&&!dojox.gfx._vectorFontCache[_c]){dojox.gfx._vectorFontCache[_c]=this;}if(!dojox.gfx._svgFontCache[_6]){dojox.gfx._svgFontCache[_6]=_7;}},_clean:function(){var _22=this.
 name,_23=this.family;dojo.forEach(["family","name","style","variant","weight","stretch","range","viewbox","origin","advance","ascent","descent","baseline","glyphs"],function(_24){try{delete this[_24];}catch(e){}},this);if(dojox.gfx._vectorFontCache[_22]){delete dojox.gfx._vectorFontCache[_22];}if(dojox.gfx._vectorFontCache[_23]){delete dojox.gfx._vectorFontCache[_23];}return this;},constructor:function(url){this._defaultLeading=1.5;if(url!==undefined){this.load(url);}},load:function(url){this.onLoadBegin(url.toString());this._parse(dojox.gfx._svgFontCache[url.toString()]||dojo._getText(url.toString()),url.toString());this.onLoad(this);return this;},initialized:function(){return (this.glyphs!==null);},_round:function(n){return Math.round(1000*n)/1000;},_leading:function(_25){return this.viewbox.height*(_25||this._defaultLeading);},_normalize:function(str){return str.replace(/\s+/g,String.fromCharCode(32));},_getWidth:function(_26){var w=0,_27=0,_28=null;dojo.forEach(_26,funct
 ion(_29,i){_27=_29.xAdvance;if(_26[i]&&_29.kern&&_29.kern[_26[i].code]){_27+=_29.kern[_26[i].code].x;}w+=_27;_28=_29;});if(_28&&_28.code==" "){w-=_28.xAdvance;}return this._round(w);},_getLongestLine:function(_2a){var _2b=0,idx=0;dojo.forEach(_2a,function(_2c,i){var max=Math.max(_2b,this._getWidth(_2c));if(max>_2b){_2b=max;idx=i;}},this);return {width:_2b,index:idx,line:_2a[idx]};},_trim:function(_2d){var fn=function(arr){if(!arr.length){return;}if(arr[arr.length-1].code==" "){arr.splice(arr.length-1,1);}if(!arr.length){return;}if(arr[0].code==" "){arr.splice(0,1);}};if(dojo.isArray(_2d[0])){dojo.forEach(_2d,fn);}else{fn(_2d);}return _2d;},_split:function(_2e,_2f){var w=this._getWidth(_2e),_30=Math.floor(w/_2f),_31=[],cw=0,c=[],_32=false;for(var i=0,l=_2e.length;i<l;i++){if(_2e[i].code==" "){_32=true;}cw+=_2e[i].xAdvance;if(i+1<l&&_2e[i].kern&&_2e[i].kern[_2e[i+1].code]){cw+=_2e[i].kern[_2e[i+1].code].x;}if(cw>=_30){var chr=_2e[i];while(_32&&chr.code!=" "&&i>=0){chr=c.pop();
 i--;}_31.push(c);c=[];cw=0;_32=false;}c.push(_2e[i]);}if(c.length){_31.push(c);}return this._trim(_31);},_getSizeFactor:function(_33){_33+="";var _34=dojox.html.metrics.getCachedFontMeasurements(),_35=this.viewbox.height,f=_34["1em"],_36=parseFloat(_33,10);if(_33.indexOf("em")>-1){return this._round((_34["1em"]*_36)/_35);}else{if(_33.indexOf("ex")>-1){return this._round((_34["1ex"]*_36)/_35);}else{if(_33.indexOf("pt")>-1){return this._round(((_34["12pt"]/12)*_36)/_35);}else{if(_33.indexOf("px")>-1){return this._round(((_34["16px"]/16)*_36)/_35);}else{if(_33.indexOf("%")>-1){return this._round((_34["1em"]*(_36/100))/_35);}else{f=_34[_33]||_34.medium;return this._round(f/_35);}}}}}},_getFitFactor:function(_37,w,h,l){if(!h){return this._round(w/this._getWidth(_37));}else{var _38=this._getLongestLine(_37).width,_39=(_37.length*(this.viewbox.height*l))-((this.viewbox.height*l)-this.viewbox.height);return this._round(Math.min(w/_38,h/_39));}},_getBestFit:function(_3a,w,h,_3b){var 
 _3c=32,_3d=0,_3e=_3c;while(_3c>0){var f=this._getFitFactor(this._split(_3a,_3c),w,h,_3b);if(f>_3d){_3d=f;_3e=_3c;}_3c--;}return {scale:_3d,lines:this._split(_3a,_3e)};},_getBestFlow:function(_3f,w,_40){var _41=[],cw=0,c=[],_42=false;for(var i=0,l=_3f.length;i<l;i++){if(_3f[i].code==" "){_42=true;}var tw=_3f[i].xAdvance;if(i+1<l&&_3f[i].kern&&_3f[i].kern[_3f[i+1].code]){tw+=_3f[i].kern[_3f[i+1].code].x;}cw+=_40*tw;if(cw>=w){var chr=_3f[i];while(_42&&chr.code!=" "&&i>=0){chr=c.pop();i--;}_41.push(c);c=[];cw=0;_42=false;}c.push(_3f[i]);}if(c.length){_41.push(c);}return this._trim(_41);},getWidth:function(_43,_44){return this._getWidth(dojo.map(this._normalize(_43).split(""),function(chr){return this.glyphs[chr]||{xAdvance:this.advance.missing.x};},this))*(_44||1);},getLineHeight:function(_45){return this.viewbox.height*(_45||1);},getCenterline:function(_46){return (_46||1)*(this.viewbox.height/2);},getBaseline:function(_47){return (_47||1)*(this.viewbox.height+this.descent);},d
 raw:function(_48,_49,_4a,_4b,_4c){if(!this.initialized()){throw new Error("dojox.gfx.VectorFont.draw(): we have not been initialized yet.");}var g=_48.createGroup();if(_49.x||_49.y){_48.applyTransform({dx:_49.x||0,dy:_49.y||0});}var _4d=dojo.map(this._normalize(_49.text).split(""),function(chr){return this.glyphs[chr]||{path:null,xAdvance:this.advance.missing.x};},this);var _4e=_4a.size,_4f=_49.fitting,_50=_49.width,_51=_49.height,_52=_49.align,_53=_49.leading||this._defaultLeading;if(_4f){if((_4f==dojox.gfx.vectorFontFitting.FLOW&&!_50)||(_4f==dojox.gfx.vectorFontFitting.FIT&&(!_50||!_51))){_4f=dojox.gfx.vectorFontFitting.NONE;}}var _54,_55;switch(_4f){case dojox.gfx.vectorFontFitting.FIT:var o=this._getBestFit(_4d,_50,_51,_53);_55=o.scale;_54=o.lines;break;case dojox.gfx.vectorFontFitting.FLOW:_55=this._getSizeFactor(_4e);_54=this._getBestFlow(_4d,_50,_55);break;default:_55=this._getSizeFactor(_4e);_54=[_4d];}_54=dojo.filter(_54,function(_56){return _56.length>0;});var cy=
 0,_57=this._getLongestLine(_54).width;for(var i=0,l=_54.length;i<l;i++){var cx=0,_58=_54[i],_59=this._getWidth(_58),lg=g.createGroup();for(var j=0;j<_58.length;j++){var _5a=_58[j];if(_5a.path!==null){var p=lg.createPath(_5a.path).setFill(_4b);if(_4c){p.setStroke(_4c);}p.setTransform([dojox.gfx.matrix.flipY,dojox.gfx.matrix.translate(cx,-this.viewbox.height-this.descent)]);}cx+=_5a.xAdvance;if(j+1<_58.length&&_5a.kern&&_5a.kern[_58[j+1].code]){cx+=_5a.kern[_58[j+1].code].x;}}var dx=0;if(_52=="middle"){dx=_57/2-_59/2;}else{if(_52=="end"){dx=_57-_59;}}lg.setTransform({dx:dx,dy:cy});cy+=this.viewbox.height*_53;}g.setTransform(dojox.gfx.matrix.scale(_55));return g;},onLoadBegin:function(url){},onLoad:function(_5b){}});})();}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/VectorText.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/_base.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/_base.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/_base.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/_base.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx._base"]){dojo._hasResource["dojox.gfx._base"]=true;dojo.provide("dojox.gfx._base");(function(){var g=dojox.gfx,b=g._base;g._hasClass=function(_1,_2){var _3=_1.getAttribute("className");return _3&&(" "+_3+" ").indexOf(" "+_2+" ")>=0;};g._addClass=function(_4,_5){var _6=_4.getAttribute("className")||"";if(!_6||(" "+_6+" ").indexOf(" "+_5+" ")<0){_4.setAttribute("className",_6+(_6?" ":"")+_5);}};g._removeClass=function(_7,_8){var _9=_7.getAttribute("className");if(_9){_7.setAttribute("className",_9.replace(new RegExp("(^|\\s+)"+_8+"(\\s+|$)"),"$1$2"));}};b._getFontMeasurements=function(){var _a={"1em":0,"1ex":0,"100%":0,"12pt":0,"16px":0,"xx-small":0,"x-small":0,"small":0,"medium":0,"large":0,"x-large":0,"xx-large":0};if(dojo.isIE){dojo.doc.documentElement.style.fontSize="100%";}var _b=dojo.doc.createElement("div");var s=_b.style;s.position="absolute";s.top="-100px";s.left="0px";s.width="30px";s.height="1000em";s.borderWidth="0px";s.margin="0px"
 ;s.padding="0px";s.outline="none";s.lineHeight="1";s.overflow="hidden";dojo.body().appendChild(_b);for(var p in _a){_b.style.fontSize=p;_a[p]=Math.round(_b.offsetHeight*12/16)*16/12/1000;}dojo.body().removeChild(_b);_b=null;return _a;};var _c=null;b._getCachedFontMeasurements=function(_d){if(_d||!_c){_c=b._getFontMeasurements();}return _c;};var _e=null,_f={};b._getTextBox=function(_10,_11,_12){var m,s,al=arguments.length;if(!_e){m=_e=dojo.doc.createElement("div");s=m.style;s.position="absolute";s.top="-10000px";s.left="0";dojo.body().appendChild(m);}else{m=_e;s=m.style;}m.className="";s.borderWidth="0";s.margin="0";s.padding="0";s.outline="0";if(al>1&&_11){for(var i in _11){if(i in _f){continue;}s[i]=_11[i];}}if(al>2&&_12){m.className=_12;}m.innerHTML=_10;if(m["getBoundingClientRect"]){var bcr=m.getBoundingClientRect();return {l:bcr.left,t:bcr.top,w:bcr.width||(bcr.right-bcr.left),h:bcr.height||(bcr.bottom-bcr.top)};}else{return dojo.marginBox(m);}};var _13=0;b._getUniqueId=
 function(){var id;do{id=dojo._scopeName+"Unique"+(++_13);}while(dojo.byId(id));return id;};})();dojo.mixin(dojox.gfx,{defaultPath:{type:"path",path:""},defaultPolyline:{type:"polyline",points:[]},defaultRect:{type:"rect",x:0,y:0,width:100,height:100,r:0},defaultEllipse:{type:"ellipse",cx:0,cy:0,rx:200,ry:100},defaultCircle:{type:"circle",cx:0,cy:0,r:100},defaultLine:{type:"line",x1:0,y1:0,x2:100,y2:100},defaultImage:{type:"image",x:0,y:0,width:0,height:0,src:""},defaultText:{type:"text",x:0,y:0,text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultTextPath:{type:"textpath",text:"",align:"start",decoration:"none",rotated:false,kerning:true},defaultStroke:{type:"stroke",color:"black",style:"solid",width:1,cap:"butt",join:4},defaultLinearGradient:{type:"linear",x1:0,y1:0,x2:100,y2:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},defaultRadialGradient:{type:"radial",cx:0,cy:0,r:100,colors:[{offset:0,color:"black"},{offset:1,color:"white"}]},de
 faultPattern:{type:"pattern",x:0,y:0,width:0,height:0,src:""},defaultFont:{type:"font",style:"normal",variant:"normal",weight:"normal",size:"10pt",family:"serif"},getDefault:(function(){var _14={};return function(_15){var t=_14[_15];if(t){return new t();}t=_14[_15]=new Function;t.prototype=dojox.gfx["default"+_15];return new t();};})(),normalizeColor:function(_16){return (_16 instanceof dojo.Color)?_16:new dojo.Color(_16);},normalizeParameters:function(_17,_18){if(_18){var _19={};for(var x in _17){if(x in _18&&!(x in _19)){_17[x]=_18[x];}}}return _17;},makeParameters:function(_1a,_1b){if(!_1b){return dojo.delegate(_1a);}var _1c={};for(var i in _1a){if(!(i in _1c)){_1c[i]=dojo.clone((i in _1b)?_1b[i]:_1a[i]);}}return _1c;},formatNumber:function(x,_1d){var val=x.toString();if(val.indexOf("e")>=0){val=x.toFixed(4);}else{var _1e=val.indexOf(".");if(_1e>=0&&val.length-_1e>5){val=x.toFixed(4);}}if(x<0){return val;}return _1d?" "+val:val;},makeFontString:function(_1f){return _1f.st
 yle+" "+_1f.variant+" "+_1f.weight+" "+_1f.size+" "+_1f.family;},splitFontString:function(str){var _20=dojox.gfx.getDefault("Font");var t=str.split(/\s+/);do{if(t.length<5){break;}_20.style=t[0];_20.variant=t[1];_20.weight=t[2];var i=t[3].indexOf("/");_20.size=i<0?t[3]:t[3].substring(0,i);var j=4;if(i<0){if(t[4]=="/"){j=6;}else{if(t[4].charAt(0)=="/"){j=5;}}}if(j<t.length){_20.family=t.slice(j).join(" ");}}while(false);return _20;},cm_in_pt:72/2.54,mm_in_pt:7.2/2.54,px_in_pt:function(){return dojox.gfx._base._getCachedFontMeasurements()["12pt"]/12;},pt2px:function(len){return len*dojox.gfx.px_in_pt();},px2pt:function(len){return len/dojox.gfx.px_in_pt();},normalizedLength:function(len){if(len.length==0){return 0;}if(len.length>2){var _21=dojox.gfx.px_in_pt();var val=parseFloat(len);switch(len.slice(-2)){case "px":return val;case "pt":return val*_21;case "in":return val*72*_21;case "pc":return val*12*_21;case "mm":return val*dojox.gfx.mm_in_pt*_21;case "cm":return val*dojox.g
 fx.cm_in_pt*_21;}}return parseFloat(len);},pathVmlRegExp:/([A-Za-z]+)|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,pathSvgRegExp:/([A-Za-z])|(\d+(\.\d+)?)|(\.\d+)|(-\d+(\.\d+)?)|(-\.\d+)/g,equalSources:function(a,b){return a&&b&&a==b;}});}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/_base.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/_base.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/_base.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/arc.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/arc.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/arc.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/arc.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.arc"]){dojo._hasResource["dojox.gfx.arc"]=true;dojo.provide("dojox.gfx.arc");dojo.require("dojox.gfx.matrix");(function(){var m=dojox.gfx.matrix,_1=function(_2){var _3=Math.cos(_2),_4=Math.sin(_2),p2={x:_3+(4/3)*(1-_3),y:_4-(4/3)*_3*(1-_3)/_4};return {s:{x:_3,y:-_4},c1:{x:p2.x,y:-p2.y},c2:p2,e:{x:_3,y:_4}};},_5=2*Math.PI,_6=Math.PI/4,_7=Math.PI/8,_8=_6+_7,_9=_1(_7);dojo.mixin(dojox.gfx.arc,{unitArcAsBezier:_1,curvePI4:_9,arcAsBezier:function(_a,rx,ry,_b,_c,_d,x,y){_c=Boolean(_c);_d=Boolean(_d);var _e=m._degToRad(_b),_f=rx*rx,ry2=ry*ry,pa=m.multiplyPoint(m.rotate(-_e),{x:(_a.x-x)/2,y:(_a.y-y)/2}),_10=pa.x*pa.x,_11=pa.y*pa.y,c1=Math.sqrt((_f*ry2-_f*_11-ry2*_10)/(_f*_11+ry2*_10));if(isNaN(c1)){c1=0;}var ca={x:c1*rx*pa.y/ry,y:-c1*ry*pa.x/rx};if(_c==_d){ca={x:-ca.x,y:-ca.y};}var c=m.multiplyPoint([m.translate((_a.x+x)/2,(_a.y+y)/2),m.rotate(_e)],ca);var _12=m.normalize([m.translate(c.x,c.y),m.rotate(_e),m.scale(rx,ry)]);var _13=m.invert(_12),sp=m.
 multiplyPoint(_13,_a),ep=m.multiplyPoint(_13,x,y),_14=Math.atan2(sp.y,sp.x),_15=Math.atan2(ep.y,ep.x),_16=_14-_15;if(_d){_16=-_16;}if(_16<0){_16+=_5;}else{if(_16>_5){_16-=_5;}}var _17=_7,_18=_9,_19=_d?_17:-_17,_1a=[];for(var _1b=_16;_1b>0;_1b-=_6){if(_1b<_8){_17=_1b/2;_18=_1(_17);_19=_d?_17:-_17;_1b=0;}var c1,c2,e,M=m.normalize([_12,m.rotate(_14+_19)]);if(_d){c1=m.multiplyPoint(M,_18.c1);c2=m.multiplyPoint(M,_18.c2);e=m.multiplyPoint(M,_18.e);}else{c1=m.multiplyPoint(M,_18.c2);c2=m.multiplyPoint(M,_18.c1);e=m.multiplyPoint(M,_18.s);}_1a.push([c1.x,c1.y,c2.x,c2.y,e.x,e.y]);_14+=2*_19;}return _1a;}});})();}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/arc.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/arc.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/arc.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/attach.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/attach.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/attach.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/attach.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+dojo.require("dojox.gfx");dojo.requireIf(dojox.gfx.renderer=="svg","dojox.gfx.svg_attach");dojo.requireIf(dojox.gfx.renderer=="vml","dojox.gfx.vml_attach");dojo.requireIf(dojox.gfx.renderer=="silverlight","dojox.gfx.silverlight_attach");dojo.requireIf(dojox.gfx.renderer=="canvas","dojox.gfx.canvas_attach");
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/attach.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/attach.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/attach.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.canvas"]){dojo._hasResource["dojox.gfx.canvas"]=true;dojo.provide("dojox.gfx.canvas");dojo.require("dojox.gfx._base");dojo.require("dojox.gfx.shape");dojo.require("dojox.gfx.path");dojo.require("dojox.gfx.arc");dojo.require("dojox.gfx.decompose");dojo.experimental("dojox.gfx.canvas");(function(){var d=dojo,g=dojox.gfx,gs=g.shape,ga=g.arc,m=g.matrix,mp=m.multiplyPoint,pi=Math.PI,_1=2*pi,_2=pi/2;d.extend(g.Shape,{_render:function(_3){_3.save();this._renderTransform(_3);this._renderShape(_3);this._renderFill(_3,true);this._renderStroke(_3,true);_3.restore();},_renderTransform:function(_4){if("canvasTransform" in this){var t=this.canvasTransform;_4.translate(t.dx,t.dy);_4.rotate(t.angle2);_4.scale(t.sx,t.sy);_4.rotate(t.angle1);}},_renderShape:function(_5){},_renderFill:function(_6,_7){if("canvasFill" in this){if("canvasFillImage" in this){this.canvasFill=_6.createPattern(this.canvasFillImage,"repeat");delete this.canvasFillImage;}_6.fillStyle=th
 is.canvasFill;if(_7){_6.fill();}}else{_6.fillStyle="rgba(0,0,0,0.0)";}},_renderStroke:function(_8,_9){var s=this.strokeStyle;if(s){_8.strokeStyle=s.color.toString();_8.lineWidth=s.width;_8.lineCap=s.cap;if(typeof s.join=="number"){_8.lineJoin="miter";_8.miterLimit=s.join;}else{_8.lineJoin=s.join;}if(_9){_8.stroke();}}else{if(!_9){_8.strokeStyle="rgba(0,0,0,0.0)";}}},getEventSource:function(){return null;},connect:function(){},disconnect:function(){}});var _a=function(_b,_c,_d){var _e=_b.prototype[_c];_b.prototype[_c]=_d?function(){this.surface.makeDirty();_e.apply(this,arguments);_d.call(this);return this;}:function(){this.surface.makeDirty();return _e.apply(this,arguments);};};_a(g.Shape,"setTransform",function(){if(this.matrix){this.canvasTransform=g.decompose(this.matrix);}else{delete this.canvasTransform;}});_a(g.Shape,"setFill",function(){var fs=this.fillStyle,f;if(fs){if(typeof (fs)=="object"&&"type" in fs){var _f=this.surface.rawNode.getContext("2d");switch(fs.type){c
 ase "linear":case "radial":f=fs.type=="linear"?_f.createLinearGradient(fs.x1,fs.y1,fs.x2,fs.y2):_f.createRadialGradient(fs.cx,fs.cy,0,fs.cx,fs.cy,fs.r);d.forEach(fs.colors,function(_10){f.addColorStop(_10.offset,g.normalizeColor(_10.color).toString());});break;case "pattern":var img=new Image(fs.width,fs.height);this.surface.downloadImage(img,fs.src);this.canvasFillImage=img;}}else{f=fs.toString();}this.canvasFill=f;}else{delete this.canvasFill;}});_a(g.Shape,"setStroke");_a(g.Shape,"setShape");dojo.declare("dojox.gfx.Group",g.Shape,{constructor:function(){gs.Container._init.call(this);},_render:function(ctx){ctx.save();this._renderTransform(ctx);this._renderFill(ctx);this._renderStroke(ctx);for(var i=0;i<this.children.length;++i){this.children[i]._render(ctx);}ctx.restore();}});dojo.declare("dojox.gfx.Rect",gs.Rect,{_renderShape:function(ctx){var s=this.shape,r=Math.min(s.r,s.height/2,s.width/2),xl=s.x,xr=xl+s.width,yt=s.y,yb=yt+s.height,xl2=xl+r,xr2=xr-r,yt2=yt+r,yb2=yb-r;
 ctx.beginPath();ctx.moveTo(xl2,yt);if(r){ctx.arc(xr2,yt2,r,-_2,0,false);ctx.arc(xr2,yb2,r,0,_2,false);ctx.arc(xl2,yb2,r,_2,pi,false);ctx.arc(xl2,yt2,r,pi,pi+_2,false);}else{ctx.lineTo(xr2,yt);ctx.lineTo(xr,yb2);ctx.lineTo(xl2,yb);ctx.lineTo(xl,yt2);}ctx.closePath();}});var _11=[];(function(){var u=ga.curvePI4;_11.push(u.s,u.c1,u.c2,u.e);for(var a=45;a<360;a+=45){var r=m.rotateg(a);_11.push(mp(r,u.c1),mp(r,u.c2),mp(r,u.e));}})();dojo.declare("dojox.gfx.Ellipse",gs.Ellipse,{setShape:function(){g.Ellipse.superclass.setShape.apply(this,arguments);var s=this.shape,t,c1,c2,r=[],M=m.normalize([m.translate(s.cx,s.cy),m.scale(s.rx,s.ry)]);t=mp(M,_11[0]);r.push([t.x,t.y]);for(var i=1;i<_11.length;i+=3){c1=mp(M,_11[i]);c2=mp(M,_11[i+1]);t=mp(M,_11[i+2]);r.push([c1.x,c1.y,c2.x,c2.y,t.x,t.y]);}this.canvasEllipse=r;return this;},_renderShape:function(ctx){var r=this.canvasEllipse;ctx.beginPath();ctx.moveTo.apply(ctx,r[0]);for(var i=1;i<r.length;++i){ctx.bezierCurveTo.apply(ctx,r[i]);}ctx.
 closePath();}});dojo.declare("dojox.gfx.Circle",gs.Circle,{_renderShape:function(ctx){var s=this.shape;ctx.beginPath();ctx.arc(s.cx,s.cy,s.r,0,_1,1);}});dojo.declare("dojox.gfx.Line",gs.Line,{_renderShape:function(ctx){var s=this.shape;ctx.beginPath();ctx.moveTo(s.x1,s.y1);ctx.lineTo(s.x2,s.y2);}});dojo.declare("dojox.gfx.Polyline",gs.Polyline,{setShape:function(){g.Polyline.superclass.setShape.apply(this,arguments);var p=this.shape.points,f=p[0],r=[],c,i;if(p.length){if(typeof f=="number"){r.push(f,p[1]);i=2;}else{r.push(f.x,f.y);i=1;}for(;i<p.length;++i){c=p[i];if(typeof c=="number"){r.push(c,p[++i]);}else{r.push(c.x,c.y);}}}this.canvasPolyline=r;return this;},_renderShape:function(ctx){var p=this.canvasPolyline;if(p.length){ctx.beginPath();ctx.moveTo(p[0],p[1]);for(var i=2;i<p.length;i+=2){ctx.lineTo(p[i],p[i+1]);}}}});dojo.declare("dojox.gfx.Image",gs.Image,{setShape:function(){g.Image.superclass.setShape.apply(this,arguments);var img=new Image();this.surface.downloadIma
 ge(img,this.shape.src);this.canvasImage=img;return this;},_renderShape:function(ctx){var s=this.shape;ctx.drawImage(this.canvasImage,s.x,s.y,s.width,s.height);}});dojo.declare("dojox.gfx.Text",gs.Text,{_renderShape:function(ctx){var s=this.shape;}});_a(g.Text,"setFont");var _12={M:"_moveToA",m:"_moveToR",L:"_lineToA",l:"_lineToR",H:"_hLineToA",h:"_hLineToR",V:"_vLineToA",v:"_vLineToR",C:"_curveToA",c:"_curveToR",S:"_smoothCurveToA",s:"_smoothCurveToR",Q:"_qCurveToA",q:"_qCurveToR",T:"_qSmoothCurveToA",t:"_qSmoothCurveToR",A:"_arcTo",a:"_arcTo",Z:"_closePath",z:"_closePath"};dojo.declare("dojox.gfx.Path",g.path.Path,{constructor:function(){this.lastControl={};},setShape:function(){this.canvasPath=[];return g.Path.superclass.setShape.apply(this,arguments);},_updateWithSegment:function(_13){var _14=d.clone(this.last);this[_12[_13.action]](this.canvasPath,_13.action,_13.args);this.last=_14;g.Path.superclass._updateWithSegment.apply(this,arguments);},_renderShape:function(ctx){va
 r r=this.canvasPath;ctx.beginPath();for(var i=0;i<r.length;i+=2){ctx[r[i]].apply(ctx,r[i+1]);}},_moveToA:function(_15,_16,_17){_15.push("moveTo",[_17[0],_17[1]]);for(var i=2;i<_17.length;i+=2){_15.push("lineTo",[_17[i],_17[i+1]]);}this.last.x=_17[_17.length-2];this.last.y=_17[_17.length-1];this.lastControl={};},_moveToR:function(_18,_19,_1a){if("x" in this.last){_18.push("moveTo",[this.last.x+=_1a[0],this.last.y+=_1a[1]]);}else{_18.push("moveTo",[this.last.x=_1a[0],this.last.y=_1a[1]]);}for(var i=2;i<_1a.length;i+=2){_18.push("lineTo",[this.last.x+=_1a[i],this.last.y+=_1a[i+1]]);}this.lastControl={};},_lineToA:function(_1b,_1c,_1d){for(var i=0;i<_1d.length;i+=2){_1b.push("lineTo",[_1d[i],_1d[i+1]]);}this.last.x=_1d[_1d.length-2];this.last.y=_1d[_1d.length-1];this.lastControl={};},_lineToR:function(_1e,_1f,_20){for(var i=0;i<_20.length;i+=2){_1e.push("lineTo",[this.last.x+=_20[i],this.last.y+=_20[i+1]]);}this.lastControl={};},_hLineToA:function(_21,_22,_23){for(var i=0;i<_23.
 length;++i){_21.push("lineTo",[_23[i],this.last.y]);}this.last.x=_23[_23.length-1];this.lastControl={};},_hLineToR:function(_24,_25,_26){for(var i=0;i<_26.length;++i){_24.push("lineTo",[this.last.x+=_26[i],this.last.y]);}this.lastControl={};},_vLineToA:function(_27,_28,_29){for(var i=0;i<_29.length;++i){_27.push("lineTo",[this.last.x,_29[i]]);}this.last.y=_29[_29.length-1];this.lastControl={};},_vLineToR:function(_2a,_2b,_2c){for(var i=0;i<_2c.length;++i){_2a.push("lineTo",[this.last.x,this.last.y+=_2c[i]]);}this.lastControl={};},_curveToA:function(_2d,_2e,_2f){for(var i=0;i<_2f.length;i+=6){_2d.push("bezierCurveTo",_2f.slice(i,i+6));}this.last.x=_2f[_2f.length-2];this.last.y=_2f[_2f.length-1];this.lastControl.x=_2f[_2f.length-4];this.lastControl.y=_2f[_2f.length-3];this.lastControl.type="C";},_curveToR:function(_30,_31,_32){for(var i=0;i<_32.length;i+=6){_30.push("bezierCurveTo",[this.last.x+_32[i],this.last.y+_32[i+1],this.lastControl.x=this.last.x+_32[i+2],this.lastContro
 l.y=this.last.y+_32[i+3],this.last.x+_32[i+4],this.last.y+_32[i+5]]);this.last.x+=_32[i+4];this.last.y+=_32[i+5];}this.lastControl.type="C";},_smoothCurveToA:function(_33,_34,_35){for(var i=0;i<_35.length;i+=4){var _36=this.lastControl.type=="C";_33.push("bezierCurveTo",[_36?2*this.last.x-this.lastControl.x:this.last.x,_36?2*this.last.y-this.lastControl.y:this.last.y,_35[i],_35[i+1],_35[i+2],_35[i+3]]);this.lastControl.x=_35[i];this.lastControl.y=_35[i+1];this.lastControl.type="C";}this.last.x=_35[_35.length-2];this.last.y=_35[_35.length-1];},_smoothCurveToR:function(_37,_38,_39){for(var i=0;i<_39.length;i+=4){var _3a=this.lastControl.type=="C";_37.push("bezierCurveTo",[_3a?2*this.last.x-this.lastControl.x:this.last.x,_3a?2*this.last.y-this.lastControl.y:this.last.y,this.last.x+_39[i],this.last.y+_39[i+1],this.last.x+_39[i+2],this.last.y+_39[i+3]]);this.lastControl.x=this.last.x+_39[i];this.lastControl.y=this.last.y+_39[i+1];this.lastControl.type="C";this.last.x+=_39[i+2];th
 is.last.y+=_39[i+3];}},_qCurveToA:function(_3b,_3c,_3d){for(var i=0;i<_3d.length;i+=4){_3b.push("quadraticCurveTo",_3d.slice(i,i+4));}this.last.x=_3d[_3d.length-2];this.last.y=_3d[_3d.length-1];this.lastControl.x=_3d[_3d.length-4];this.lastControl.y=_3d[_3d.length-3];this.lastControl.type="Q";},_qCurveToR:function(_3e,_3f,_40){for(var i=0;i<_40.length;i+=4){_3e.push("quadraticCurveTo",[this.lastControl.x=this.last.x+_40[i],this.lastControl.y=this.last.y+_40[i+1],this.last.x+_40[i+2],this.last.y+_40[i+3]]);this.last.x+=_40[i+2];this.last.y+=_40[i+3];}this.lastControl.type="Q";},_qSmoothCurveToA:function(_41,_42,_43){for(var i=0;i<_43.length;i+=2){var _44=this.lastControl.type=="Q";_41.push("quadraticCurveTo",[this.lastControl.x=_44?2*this.last.x-this.lastControl.x:this.last.x,this.lastControl.y=_44?2*this.last.y-this.lastControl.y:this.last.y,_43[i],_43[i+1]]);this.lastControl.type="Q";}this.last.x=_43[_43.length-2];this.last.y=_43[_43.length-1];},_qSmoothCurveToR:function(_4
 5,_46,_47){for(var i=0;i<_47.length;i+=2){var _48=this.lastControl.type=="Q";_45.push("quadraticCurveTo",[this.lastControl.x=_48?2*this.last.x-this.lastControl.x:this.last.x,this.lastControl.y=_48?2*this.last.y-this.lastControl.y:this.last.y,this.last.x+_47[i],this.last.y+_47[i+1]]);this.lastControl.type="Q";this.last.x+=_47[i];this.last.y+=_47[i+1];}},_arcTo:function(_49,_4a,_4b){var _4c=_4a=="a";for(var i=0;i<_4b.length;i+=7){var x1=_4b[i+5],y1=_4b[i+6];if(_4c){x1+=this.last.x;y1+=this.last.y;}var _4d=ga.arcAsBezier(this.last,_4b[i],_4b[i+1],_4b[i+2],_4b[i+3]?1:0,_4b[i+4]?1:0,x1,y1);d.forEach(_4d,function(p){_49.push("bezierCurveTo",p);});this.last.x=x1;this.last.y=y1;}this.lastControl={};},_closePath:function(_4e,_4f,_50){_4e.push("closePath",[]);this.lastControl={};}});d.forEach(["moveTo","lineTo","hLineTo","vLineTo","curveTo","smoothCurveTo","qCurveTo","qSmoothCurveTo","arcTo","closePath"],function(_51){_a(g.Path,_51);});dojo.declare("dojox.gfx.TextPath",g.path.TextPath
 ,{_renderShape:function(ctx){var s=this.shape;}});dojo.declare("dojox.gfx.Surface",gs.Surface,{constructor:function(){gs.Container._init.call(this);this.pendingImageCount=0;this.makeDirty();},setDimensions:function(_52,_53){this.width=g.normalizedLength(_52);this.height=g.normalizedLength(_53);if(!this.rawNode){return this;}this.rawNode.width=_52;this.rawNode.height=_53;this.makeDirty();return this;},getDimensions:function(){return this.rawNode?{width:this.rawNode.width,height:this.rawNode.height}:null;},_render:function(){if(this.pendingImageCount){return;}var ctx=this.rawNode.getContext("2d");ctx.save();ctx.clearRect(0,0,this.rawNode.width,this.rawNode.height);for(var i=0;i<this.children.length;++i){this.children[i]._render(ctx);}ctx.restore();if("pendingRender" in this){clearTimeout(this.pendingRender);delete this.pendingRender;}},makeDirty:function(){if(!this.pendingImagesCount&&!("pendingRender" in this)){this.pendingRender=setTimeout(d.hitch(this,this._render),0);}},do
 wnloadImage:function(img,url){var _54=d.hitch(this,this.onImageLoad);if(!this.pendingImageCount++&&"pendingRender" in this){clearTimeout(this.pendingRender);delete this.pendingRender;}img.onload=_54;img.onerror=_54;img.onabort=_54;img.src=url;},onImageLoad:function(){if(!--this.pendingImageCount){this._render();}},getEventSource:function(){return null;},connect:function(){},disconnect:function(){}});g.createSurface=function(_55,_56,_57){if(!_56&&!_57){var pos=d.position(_55);_56=_56||pos.w;_57=_57||pos.h;}if(typeof _56=="number"){_56=_56+"px";}if(typeof _57=="number"){_57=_57+"px";}var s=new g.Surface(),p=d.byId(_55),c=p.ownerDocument.createElement("canvas");c.width=dojox.gfx.normalizedLength(_56);c.height=dojox.gfx.normalizedLength(_57);p.appendChild(c);s.rawNode=c;s._parent=p;s.surface=s;return s;};var C=gs.Container,_58={add:function(_59){this.surface.makeDirty();return C.add.apply(this,arguments);},remove:function(_5a,_5b){this.surface.makeDirty();return C.remove.apply(t
 his,arguments);},clear:function(){this.surface.makeDirty();return C.clear.apply(this,arguments);},_moveChildToFront:function(_5c){this.surface.makeDirty();return C._moveChildToFront.apply(this,arguments);},_moveChildToBack:function(_5d){this.surface.makeDirty();return C._moveChildToBack.apply(this,arguments);}};d.mixin(gs.Creator,{createObject:function(_5e,_5f){var _60=new _5e();_60.surface=this.surface;_60.setShape(_5f);this.add(_60);return _60;}});d.extend(g.Group,_58);d.extend(g.Group,gs.Creator);d.extend(g.Surface,_58);d.extend(g.Surface,gs.Creator);})();}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas_attach.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas_attach.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas_attach.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas_attach.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+dojo.require("dojox.gfx.canvas");dojo.experimental("dojox.gfx.canvas_attach");dojox.gfx.attachNode=function(){return null;};
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas_attach.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas_attach.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/canvas_attach.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/decompose.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/decompose.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/decompose.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/decompose.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.decompose"]){dojo._hasResource["dojox.gfx.decompose"]=true;dojo.provide("dojox.gfx.decompose");dojo.require("dojox.gfx.matrix");(function(){var m=dojox.gfx.matrix;var eq=function(a,b){return Math.abs(a-b)<=0.000001*(Math.abs(a)+Math.abs(b));};var _1=function(r1,m1,r2,m2){if(!isFinite(r1)){return r2;}else{if(!isFinite(r2)){return r1;}}m1=Math.abs(m1),m2=Math.abs(m2);return (m1*r1+m2*r2)/(m1+m2);};var _2=function(_3){var M=new m.Matrix2D(_3);return dojo.mixin(M,{dx:0,dy:0,xy:M.yx,yx:M.xy});};var _4=function(_5){return (_5.xx*_5.yy<0||_5.xy*_5.yx>0)?-1:1;};var _6=function(_7){var M=m.normalize(_7),b=-M.xx-M.yy,c=M.xx*M.yy-M.xy*M.yx,d=Math.sqrt(b*b-4*c),l1=-(b+(b<0?-d:d))/2,l2=c/l1,_8=M.xy/(l1-M.xx),_9=1,_a=M.xy/(l2-M.xx),_b=1;if(eq(l1,l2)){_8=1,_9=0,_a=0,_b=1;}if(!isFinite(_8)){_8=1,_9=(l1-M.xx)/M.xy;if(!isFinite(_9)){_8=(l1-M.yy)/M.yx,_9=1;if(!isFinite(_8)){_8=1,_9=M.yx/(l1-M.yy);}}}if(!isFinite(_a)){_a=1,_b=(l2-M.xx)/M.xy;if(!isFinite(_b)){_a=
 (l2-M.yy)/M.yx,_b=1;if(!isFinite(_a)){_a=1,_b=M.yx/(l2-M.yy);}}}var d1=Math.sqrt(_8*_8+_9*_9),d2=Math.sqrt(_a*_a+_b*_b);if(!isFinite(_8/=d1)){_8=0;}if(!isFinite(_9/=d1)){_9=0;}if(!isFinite(_a/=d2)){_a=0;}if(!isFinite(_b/=d2)){_b=0;}return {value1:l1,value2:l2,vector1:{x:_8,y:_9},vector2:{x:_a,y:_b}};};var _c=function(M,_d){var _e=_4(M),a=_d.angle1=(Math.atan2(M.yx,M.yy)+Math.atan2(-_e*M.xy,_e*M.xx))/2,_f=Math.cos(a),sin=Math.sin(a);_d.sx=_1(M.xx/_f,_f,-M.xy/sin,sin);_d.sy=_1(M.yy/_f,_f,M.yx/sin,sin);return _d;};var _10=function(M,_11){var _12=_4(M),a=_11.angle2=(Math.atan2(_12*M.yx,_12*M.xx)+Math.atan2(-M.xy,M.yy))/2,cos=Math.cos(a),sin=Math.sin(a);_11.sx=_1(M.xx/cos,cos,M.yx/sin,sin);_11.sy=_1(M.yy/cos,cos,-M.xy/sin,sin);return _11;};dojox.gfx.decompose=function(_13){var M=m.normalize(_13),_14={dx:M.dx,dy:M.dy,sx:1,sy:1,angle1:0,angle2:0};if(eq(M.xy,0)&&eq(M.yx,0)){return dojo.mixin(_14,{sx:M.xx,sy:M.yy});}if(eq(M.xx*M.yx,-M.xy*M.yy)){return _c(M,_14);}if(eq(M.xx*M.xy,-M.yx
 *M.yy)){return _10(M,_14);}var MT=_2(M),u=_6([M,MT]),v=_6([MT,M]),U=new m.Matrix2D({xx:u.vector1.x,xy:u.vector2.x,yx:u.vector1.y,yy:u.vector2.y}),VT=new m.Matrix2D({xx:v.vector1.x,xy:v.vector1.y,yx:v.vector2.x,yy:v.vector2.y}),S=new m.Matrix2D([m.invert(U),M,m.invert(VT)]);_c(VT,_14);S.xx*=_14.sx;S.yy*=_14.sy;_10(U,_14);S.xx*=_14.sx;S.yy*=_14.sy;return dojo.mixin(_14,{sx:S.xx,sy:S.yy});};})();}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/decompose.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/decompose.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/decompose.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/fx.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/fx.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/fx.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/fx.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.fx"]){dojo._hasResource["dojox.gfx.fx"]=true;dojo.provide("dojox.gfx.fx");dojo.require("dojox.gfx.matrix");(function(){var d=dojo,g=dojox.gfx,m=g.matrix;var _1=function(_2,_3){this.start=_2,this.end=_3;};d.extend(_1,{getValue:function(r){return (this.end-this.start)*r+this.start;}});var _4=function(_5,_6,_7){this.start=_5,this.end=_6;this.units=_7;};d.extend(_4,{getValue:function(r){return (this.end-this.start)*r+this.start+this.units;}});var _8=function(_9,_a){this.start=_9,this.end=_a;this.temp=new dojo.Color();};d.extend(_8,{getValue:function(r){return d.blendColors(this.start,this.end,r,this.temp);}});var _b=function(_c){this.values=_c;this.length=_c.length;};d.extend(_b,{getValue:function(r){return this.values[Math.min(Math.floor(r*this.length),this.length-1)];}});var _d=function(_e,_f){this.values=_e;this.def=_f?_f:{};};d.extend(_d,{getValue:function(r){var ret=dojo.clone(this.def);for(var i in this.values){ret[i]=this.values[i].getValu
 e(r);}return ret;}});var _10=function(_11,_12){this.stack=_11;this.original=_12;};d.extend(_10,{getValue:function(r){var ret=[];dojo.forEach(this.stack,function(t){if(t instanceof m.Matrix2D){ret.push(t);return;}if(t.name=="original"&&this.original){ret.push(this.original);return;}if(!(t.name in m)){return;}var f=m[t.name];if(typeof f!="function"){ret.push(f);return;}var val=dojo.map(t.start,function(v,i){return (t.end[i]-v)*r+v;}),_13=f.apply(m,val);if(_13 instanceof m.Matrix2D){ret.push(_13);}},this);return ret;}});var _14=new d.Color(0,0,0,0);var _15=function(_16,obj,_17,def){if(_16.values){return new _b(_16.values);}var _18,_19,end;if(_16.start){_19=g.normalizeColor(_16.start);}else{_19=_18=obj?(_17?obj[_17]:obj):def;}if(_16.end){end=g.normalizeColor(_16.end);}else{if(!_18){_18=obj?(_17?obj[_17]:obj):def;}end=_18;}return new _8(_19,end);};var _1a=function(_1b,obj,_1c,def){if(_1b.values){return new _b(_1b.values);}var _1d,_1e,end;if(_1b.start){_1e=_1b.start;}else{_1e=_1d=
 obj?obj[_1c]:def;}if(_1b.end){end=_1b.end;}else{if(typeof _1d!="number"){_1d=obj?obj[_1c]:def;}end=_1d;}return new _1(_1e,end);};g.fx.animateStroke=function(_1f){if(!_1f.easing){_1f.easing=d._defaultEasing;}var _20=new d.Animation(_1f),_21=_1f.shape,_22;d.connect(_20,"beforeBegin",_20,function(){_22=_21.getStroke();var _23=_1f.color,_24={},_25,_26,end;if(_23){_24.color=_15(_23,_22,"color",_14);}_23=_1f.style;if(_23&&_23.values){_24.style=new _b(_23.values);}_23=_1f.width;if(_23){_24.width=_1a(_23,_22,"width",1);}_23=_1f.cap;if(_23&&_23.values){_24.cap=new _b(_23.values);}_23=_1f.join;if(_23){if(_23.values){_24.join=new _b(_23.values);}else{_26=_23.start?_23.start:(_22&&_22.join||0);end=_23.end?_23.end:(_22&&_22.join||0);if(typeof _26=="number"&&typeof end=="number"){_24.join=new _1(_26,end);}}}this.curve=new _d(_24,_22);});d.connect(_20,"onAnimate",_21,"setStroke");return _20;};g.fx.animateFill=function(_27){if(!_27.easing){_27.easing=d._defaultEasing;}var _28=new d.Animatio
 n(_27),_29=_27.shape,_2a;d.connect(_28,"beforeBegin",_28,function(){_2a=_29.getFill();var _2b=_27.color,_2c={};if(_2b){this.curve=_15(_2b,_2a,"",_14);}});d.connect(_28,"onAnimate",_29,"setFill");return _28;};g.fx.animateFont=function(_2d){if(!_2d.easing){_2d.easing=d._defaultEasing;}var _2e=new d.Animation(_2d),_2f=_2d.shape,_30;d.connect(_2e,"beforeBegin",_2e,function(){_30=_2f.getFont();var _31=_2d.style,_32={},_33,_34,end;if(_31&&_31.values){_32.style=new _b(_31.values);}_31=_2d.variant;if(_31&&_31.values){_32.variant=new _b(_31.values);}_31=_2d.weight;if(_31&&_31.values){_32.weight=new _b(_31.values);}_31=_2d.family;if(_31&&_31.values){_32.family=new _b(_31.values);}_31=_2d.size;if(_31&&_31.units){_34=parseFloat(_31.start?_31.start:(_2f.font&&_2f.font.size||"0"));end=parseFloat(_31.end?_31.end:(_2f.font&&_2f.font.size||"0"));_32.size=new _4(_34,end,_31.units);}this.curve=new _d(_32,_30);});d.connect(_2e,"onAnimate",_2f,"setFont");return _2e;};g.fx.animateTransform=functi
 on(_35){if(!_35.easing){_35.easing=d._defaultEasing;}var _36=new d.Animation(_35),_37=_35.shape,_38;d.connect(_36,"beforeBegin",_36,function(){_38=_37.getTransform();this.curve=new _10(_35.transform,_38);});d.connect(_36,"onAnimate",_37,"setTransform");return _36;};})();}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/fx.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/fx.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/fx.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradient.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradient.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradient.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradient.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.gradient"]){dojo._hasResource["dojox.gfx.gradient"]=true;dojo.provide("dojox.gfx.gradient");dojo.require("dojox.gfx.matrix");(function(){var d=dojo,m=dojox.gfx.matrix,C=d.Color;dojox.gfx.gradient.rescale=function(_1,_2,to){var _3=_1.length,_4=(to<_2),_5;if(_4){var _6=_2;_2=to;to=_6;}if(!_3){return [];}if(to<=_1[0].offset){_5=[{offset:0,color:_1[0].color},{offset:1,color:_1[0].color}];}else{if(_2>=_1[_3-1].offset){_5=[{offset:0,color:_1[_3-1].color},{offset:1,color:_1[_3-1].color}];}else{var _7=to-_2,_8,_9,i;_5=[];if(_2<0){_5.push({offset:0,color:new C(_1[0].color)});}for(i=0;i<_3;++i){_8=_1[i];if(_8.offset>=_2){break;}}if(i){_9=_1[i-1];_5.push({offset:0,color:d.blendColors(new C(_9.color),new C(_8.color),(_2-_9.offset)/(_8.offset-_9.offset))});}else{_5.push({offset:0,color:new C(_8.color)});}for(;i<_3;++i){_8=_1[i];if(_8.offset>=to){break;}_5.push({offset:(_8.offset-_2)/_7,color:new C(_8.color)});}if(i<_3){_9=_1[i-1];_5.push({offset:1,color:d
 .blendColors(new C(_9.color),new C(_8.color),(to-_9.offset)/(_8.offset-_9.offset))});}else{_5.push({offset:1,color:new C(_1[_3-1].color)});}}}if(_4){_5.reverse();for(i=0,_3=_5.length;i<_3;++i){_8=_5[i];_8.offset=1-_8.offset;}}return _5;};function _a(x,y,_b,_c,_d,_e){var r=m.multiplyPoint(_b,x,y),p=m.multiplyPoint(_c,r);return {r:r,p:p,o:m.multiplyPoint(_d,p).x/_e};};function _f(a,b){return a.o-b.o;};dojox.gfx.gradient.project=function(_10,_11,tl,rb,ttl,trb){_10=_10||m.identity;var f1=m.multiplyPoint(_10,_11.x1,_11.y1),f2=m.multiplyPoint(_10,_11.x2,_11.y2),_12=Math.atan2(f2.y-f1.y,f2.x-f1.x),_13=m.project(f2.x-f1.x,f2.y-f1.y),pf1=m.multiplyPoint(_13,f1),pf2=m.multiplyPoint(_13,f2),_14=new m.Matrix2D([m.rotate(-_12),{dx:-pf1.x,dy:-pf1.y}]),_15=m.multiplyPoint(_14,pf2).x,_16=[_a(tl.x,tl.y,_10,_13,_14,_15),_a(rb.x,rb.y,_10,_13,_14,_15),_a(tl.x,rb.y,_10,_13,_14,_15),_a(rb.x,tl.y,_10,_13,_14,_15)].sort(_f),_17=_16[0].o,to=_16[3].o,_18=dojox.gfx.gradient.rescale(_11.colors,_17,to),
 _19=Math.atan2(_16[3].r.y-_16[0].r.y,_16[3].r.x-_16[0].r.x);return {type:"linear",x1:_16[0].p.x,y1:_16[0].p.y,x2:_16[3].p.x,y2:_16[3].p.y,colors:_18,angle:_12};};})();}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradient.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradient.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradient.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradutils.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradutils.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradutils.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradutils.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.gradutils"]){dojo._hasResource["dojox.gfx.gradutils"]=true;dojo.provide("dojox.gfx.gradutils");dojo.require("dojox.gfx.matrix");(function(){var d=dojo,m=dojox.gfx.matrix,C=d.Color;function _1(o,c){if(o<=0){return c[0].color;}var _2=c.length;if(o>=1){return c[_2-1].color;}for(var i=0;i<_2;++i){var _3=c[i];if(_3.offset>=o){if(i){var _4=c[i-1];return d.blendColors(new C(_4.color),new C(_3.color),(o-_4.offset)/(_3.offset-_4.offset));}return _3.color;}}return c[_2-1].color;};dojox.gfx.gradutils.getColor=function(_5,pt){var o;if(_5){switch(_5.type){case "linear":var _6=Math.atan2(_5.y2-_5.y1,_5.x2-_5.x1),_7=m.rotate(-_6),_8=m.project(_5.x2-_5.x1,_5.y2-_5.y1),p=m.multiplyPoint(_8,pt),_9=m.multiplyPoint(_8,_5.x1,_5.y1),_a=m.multiplyPoint(_8,_5.x2,_5.y2),_b=m.multiplyPoint(_7,_a.x-_9.x,_a.y-_9.y).x,o=m.multiplyPoint(_7,p.x-_9.x,p.y-_9.y).x/_b;break;case "radial":var dx=pt.x-_5.cx,dy=pt.y-_5.cy,o=Math.sqrt(dx*dx+dy*dy)/_5.r;break;}return _1(o,_5.colors
 );}return new C(_5||[0,0,0,0]);};dojox.gfx.gradutils.reverse=function(_c){if(_c){switch(_c.type){case "linear":case "radial":_c=dojo.delegate(_c);if(_c.colors){var c=_c.colors,l=c.length,i=0,_d,n=_c.colors=new Array(c.length);for(;i<l;++i){_d=c[i];n[i]={offset:1-_d.offset,color:_d.color};}n.sort(function(a,b){return a.offset-b.offset;});}break;}}return _c;};})();}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradutils.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradutils.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/gradutils.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/matrix.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/matrix.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/matrix.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/matrix.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.matrix"]){dojo._hasResource["dojox.gfx.matrix"]=true;dojo.provide("dojox.gfx.matrix");(function(){var m=dojox.gfx.matrix;var _1={};m._degToRad=function(_2){return _1[_2]||(_1[_2]=(Math.PI*_2/180));};m._radToDeg=function(_3){return _3/Math.PI*180;};m.Matrix2D=function(_4){if(_4){if(typeof _4=="number"){this.xx=this.yy=_4;}else{if(_4 instanceof Array){if(_4.length>0){var _5=m.normalize(_4[0]);for(var i=1;i<_4.length;++i){var l=_5,r=dojox.gfx.matrix.normalize(_4[i]);_5=new m.Matrix2D();_5.xx=l.xx*r.xx+l.xy*r.yx;_5.xy=l.xx*r.xy+l.xy*r.yy;_5.yx=l.yx*r.xx+l.yy*r.yx;_5.yy=l.yx*r.xy+l.yy*r.yy;_5.dx=l.xx*r.dx+l.xy*r.dy+l.dx;_5.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}dojo.mixin(this,_5);}}else{dojo.mixin(this,_4);}}}};dojo.extend(m.Matrix2D,{xx:1,xy:0,yx:0,yy:1,dx:0,dy:0});dojo.mixin(m,{identity:new m.Matrix2D(),flipX:new m.Matrix2D({xx:-1}),flipY:new m.Matrix2D({yy:-1}),flipXY:new m.Matrix2D({xx:-1,yy:-1}),translate:function(a,b){if(arguments.length>1){return ne
 w m.Matrix2D({dx:a,dy:b});}return new m.Matrix2D({dx:a.x,dy:a.y});},scale:function(a,b){if(arguments.length>1){return new m.Matrix2D({xx:a,yy:b});}if(typeof a=="number"){return new m.Matrix2D({xx:a,yy:a});}return new m.Matrix2D({xx:a.x,yy:a.y});},rotate:function(_6){var c=Math.cos(_6);var s=Math.sin(_6);return new m.Matrix2D({xx:c,xy:-s,yx:s,yy:c});},rotateg:function(_7){return m.rotate(m._degToRad(_7));},skewX:function(_8){return new m.Matrix2D({xy:Math.tan(_8)});},skewXg:function(_9){return m.skewX(m._degToRad(_9));},skewY:function(_a){return new m.Matrix2D({yx:Math.tan(_a)});},skewYg:function(_b){return m.skewY(m._degToRad(_b));},reflect:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=2*a*b/n2;return new m.Matrix2D({xx:2*a2/n2-1,xy:xy,yx:xy,yy:2*b2/n2-1});},project:function(a,b){if(arguments.length==1){b=a.y;a=a.x;}var a2=a*a,b2=b*b,n2=a2+b2,xy=a*b/n2;return new m.Matrix2D({xx:a2/n2,xy:xy,yx:xy,yy:b2/n2});},normalize:function(_c){return (_
 c instanceof m.Matrix2D)?_c:new m.Matrix2D(_c);},clone:function(_d){var _e=new m.Matrix2D();for(var i in _d){if(typeof (_d[i])=="number"&&typeof (_e[i])=="number"&&_e[i]!=_d[i]){_e[i]=_d[i];}}return _e;},invert:function(_f){var M=m.normalize(_f),D=M.xx*M.yy-M.xy*M.yx,M=new m.Matrix2D({xx:M.yy/D,xy:-M.xy/D,yx:-M.yx/D,yy:M.xx/D,dx:(M.xy*M.dy-M.yy*M.dx)/D,dy:(M.yx*M.dx-M.xx*M.dy)/D});return M;},_multiplyPoint:function(_10,x,y){return {x:_10.xx*x+_10.xy*y+_10.dx,y:_10.yx*x+_10.yy*y+_10.dy};},multiplyPoint:function(_11,a,b){var M=m.normalize(_11);if(typeof a=="number"&&typeof b=="number"){return m._multiplyPoint(M,a,b);}return m._multiplyPoint(M,a.x,a.y);},multiply:function(_12){var M=m.normalize(_12);for(var i=1;i<arguments.length;++i){var l=M,r=m.normalize(arguments[i]);M=new m.Matrix2D();M.xx=l.xx*r.xx+l.xy*r.yx;M.xy=l.xx*r.xy+l.xy*r.yy;M.yx=l.yx*r.xx+l.yy*r.yx;M.yy=l.yx*r.xy+l.yy*r.yy;M.dx=l.xx*r.dx+l.xy*r.dy+l.dx;M.dy=l.yx*r.dx+l.yy*r.dy+l.dy;}return M;},_sandwich:function(_
 13,x,y){return m.multiply(m.translate(x,y),_13,m.translate(-x,-y));},scaleAt:function(a,b,c,d){switch(arguments.length){case 4:return m._sandwich(m.scale(a,b),c,d);case 3:if(typeof c=="number"){return m._sandwich(m.scale(a),b,c);}return m._sandwich(m.scale(a,b),c.x,c.y);}return m._sandwich(m.scale(a),b.x,b.y);},rotateAt:function(_14,a,b){if(arguments.length>2){return m._sandwich(m.rotate(_14),a,b);}return m._sandwich(m.rotate(_14),a.x,a.y);},rotategAt:function(_15,a,b){if(arguments.length>2){return m._sandwich(m.rotateg(_15),a,b);}return m._sandwich(m.rotateg(_15),a.x,a.y);},skewXAt:function(_16,a,b){if(arguments.length>2){return m._sandwich(m.skewX(_16),a,b);}return m._sandwich(m.skewX(_16),a.x,a.y);},skewXgAt:function(_17,a,b){if(arguments.length>2){return m._sandwich(m.skewXg(_17),a,b);}return m._sandwich(m.skewXg(_17),a.x,a.y);},skewYAt:function(_18,a,b){if(arguments.length>2){return m._sandwich(m.skewY(_18),a,b);}return m._sandwich(m.skewY(_18),a.x,a.y);},skewYgAt:funct
 ion(_19,a,b){if(arguments.length>2){return m._sandwich(m.skewYg(_19),a,b);}return m._sandwich(m.skewYg(_19),a.x,a.y);}});})();dojox.gfx.Matrix2D=dojox.gfx.matrix.Matrix2D;}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/matrix.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/matrix.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/matrix.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/move.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/move.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/move.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/move.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.move"]){dojo._hasResource["dojox.gfx.move"]=true;dojo.provide("dojox.gfx.move");dojo.require("dojox.gfx.Mover");dojo.require("dojox.gfx.Moveable");}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/move.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/move.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/move.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/path.js
URL: http://svn.apache.org/viewvc/geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/path.js?rev=1341757&view=auto
==============================================================================
--- geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/path.js (added)
+++ geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/path.js Wed May 23 06:24:33 2012
@@ -0,0 +1,8 @@
+/*
+	Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
+	Available via Academic Free License >= 2.1 OR the modified BSD license.
+	see: http://dojotoolkit.org/license for details
+*/
+
+
+if(!dojo._hasResource["dojox.gfx.path"]){dojo._hasResource["dojox.gfx.path"]=true;dojo.provide("dojox.gfx.path");dojo.require("dojox.gfx.matrix");dojo.require("dojox.gfx.shape");dojo.declare("dojox.gfx.path.Path",dojox.gfx.Shape,{constructor:function(_1){this.shape=dojo.clone(dojox.gfx.defaultPath);this.segments=[];this.tbbox=null;this.absolute=true;this.last={};this.rawNode=_1;this.segmented=false;},setAbsoluteMode:function(_2){this._confirmSegmented();this.absolute=typeof _2=="string"?(_2=="absolute"):_2;return this;},getAbsoluteMode:function(){this._confirmSegmented();return this.absolute;},getBoundingBox:function(){this._confirmSegmented();return (this.bbox&&("l" in this.bbox))?{x:this.bbox.l,y:this.bbox.t,width:this.bbox.r-this.bbox.l,height:this.bbox.b-this.bbox.t}:null;},_getRealBBox:function(){this._confirmSegmented();if(this.tbbox){return this.tbbox;}var _3=this.bbox,_4=this._getRealMatrix();this.bbox=null;for(var i=0,_5=this.segments.length;i<_5;++i){this._updateWi
 thSegment(this.segments[i],_4);}var t=this.bbox;this.bbox=_3;this.tbbox=t?[{x:t.l,y:t.t},{x:t.r,y:t.t},{x:t.r,y:t.b},{x:t.l,y:t.b}]:null;return this.tbbox;},getLastPosition:function(){this._confirmSegmented();return "x" in this.last?this.last:null;},_applyTransform:function(){this.tbbox=null;return dojox.gfx.Shape.prototype._applyTransform.call(this);},_updateBBox:function(x,y,_6){if(_6){var t=dojox.gfx.matrix.multiplyPoint(_6,x,y);x=t.x;y=t.y;}if(this.bbox&&("l" in this.bbox)){if(this.bbox.l>x){this.bbox.l=x;}if(this.bbox.r<x){this.bbox.r=x;}if(this.bbox.t>y){this.bbox.t=y;}if(this.bbox.b<y){this.bbox.b=y;}}else{this.bbox={l:x,b:y,r:x,t:y};}},_updateWithSegment:function(_7,_8){var n=_7.args,l=n.length;switch(_7.action){case "M":case "L":case "C":case "S":case "Q":case "T":for(var i=0;i<l;i+=2){this._updateBBox(n[i],n[i+1],_8);}this.last.x=n[l-2];this.last.y=n[l-1];this.absolute=true;break;case "H":for(var i=0;i<l;++i){this._updateBBox(n[i],this.last.y,_8);}this.last.x=n[l-1
 ];this.absolute=true;break;case "V":for(var i=0;i<l;++i){this._updateBBox(this.last.x,n[i],_8);}this.last.y=n[l-1];this.absolute=true;break;case "m":var _9=0;if(!("x" in this.last)){this._updateBBox(this.last.x=n[0],this.last.y=n[1],_8);_9=2;}for(var i=_9;i<l;i+=2){this._updateBBox(this.last.x+=n[i],this.last.y+=n[i+1],_8);}this.absolute=false;break;case "l":case "t":for(var i=0;i<l;i+=2){this._updateBBox(this.last.x+=n[i],this.last.y+=n[i+1],_8);}this.absolute=false;break;case "h":for(var i=0;i<l;++i){this._updateBBox(this.last.x+=n[i],this.last.y,_8);}this.absolute=false;break;case "v":for(var i=0;i<l;++i){this._updateBBox(this.last.x,this.last.y+=n[i],_8);}this.absolute=false;break;case "c":for(var i=0;i<l;i+=6){this._updateBBox(this.last.x+n[i],this.last.y+n[i+1],_8);this._updateBBox(this.last.x+n[i+2],this.last.y+n[i+3],_8);this._updateBBox(this.last.x+=n[i+4],this.last.y+=n[i+5],_8);}this.absolute=false;break;case "s":case "q":for(var i=0;i<l;i+=4){this._updateBBox(thi
 s.last.x+n[i],this.last.y+n[i+1],_8);this._updateBBox(this.last.x+=n[i+2],this.last.y+=n[i+3],_8);}this.absolute=false;break;case "A":for(var i=0;i<l;i+=7){this._updateBBox(n[i+5],n[i+6],_8);}this.last.x=n[l-2];this.last.y=n[l-1];this.absolute=true;break;case "a":for(var i=0;i<l;i+=7){this._updateBBox(this.last.x+=n[i+5],this.last.y+=n[i+6],_8);}this.absolute=false;break;}var _a=[_7.action];for(var i=0;i<l;++i){_a.push(dojox.gfx.formatNumber(n[i],true));}if(typeof this.shape.path=="string"){this.shape.path+=_a.join("");}else{Array.prototype.push.apply(this.shape.path,_a);}},_validSegments:{m:2,l:2,h:1,v:1,c:6,s:4,q:4,t:2,a:7,z:0},_pushSegment:function(_b,_c){this.tbbox=null;var _d=this._validSegments[_b.toLowerCase()];if(typeof _d=="number"){if(_d){if(_c.length>=_d){var _e={action:_b,args:_c.slice(0,_c.length-_c.length%_d)};this.segments.push(_e);this._updateWithSegment(_e);}}else{var _e={action:_b,args:[]};this.segments.push(_e);this._updateWithSegment(_e);}}},_collectArgs:
 function(_f,_10){for(var i=0;i<_10.length;++i){var t=_10[i];if(typeof t=="boolean"){_f.push(t?1:0);}else{if(typeof t=="number"){_f.push(t);}else{if(t instanceof Array){this._collectArgs(_f,t);}else{if("x" in t&&"y" in t){_f.push(t.x,t.y);}}}}}},moveTo:function(){this._confirmSegmented();var _11=[];this._collectArgs(_11,arguments);this._pushSegment(this.absolute?"M":"m",_11);return this;},lineTo:function(){this._confirmSegmented();var _12=[];this._collectArgs(_12,arguments);this._pushSegment(this.absolute?"L":"l",_12);return this;},hLineTo:function(){this._confirmSegmented();var _13=[];this._collectArgs(_13,arguments);this._pushSegment(this.absolute?"H":"h",_13);return this;},vLineTo:function(){this._confirmSegmented();var _14=[];this._collectArgs(_14,arguments);this._pushSegment(this.absolute?"V":"v",_14);return this;},curveTo:function(){this._confirmSegmented();var _15=[];this._collectArgs(_15,arguments);this._pushSegment(this.absolute?"C":"c",_15);return this;},smoothCurve
 To:function(){this._confirmSegmented();var _16=[];this._collectArgs(_16,arguments);this._pushSegment(this.absolute?"S":"s",_16);return this;},qCurveTo:function(){this._confirmSegmented();var _17=[];this._collectArgs(_17,arguments);this._pushSegment(this.absolute?"Q":"q",_17);return this;},qSmoothCurveTo:function(){this._confirmSegmented();var _18=[];this._collectArgs(_18,arguments);this._pushSegment(this.absolute?"T":"t",_18);return this;},arcTo:function(){this._confirmSegmented();var _19=[];this._collectArgs(_19,arguments);this._pushSegment(this.absolute?"A":"a",_19);return this;},closePath:function(){this._confirmSegmented();this._pushSegment("Z",[]);return this;},_confirmSegmented:function(){if(!this.segmented){var _1a=this.shape.path;this.shape.path=[];this._setPath(_1a);this.shape.path=this.shape.path.join("");this.segmented=true;}},_setPath:function(_1b){var p=dojo.isArray(_1b)?_1b:_1b.match(dojox.gfx.pathSvgRegExp);this.segments=[];this.absolute=true;this.bbox={};this
 .last={};if(!p){return;}var _1c="",_1d=[],l=p.length;for(var i=0;i<l;++i){var t=p[i],x=parseFloat(t);if(isNaN(x)){if(_1c){this._pushSegment(_1c,_1d);}_1d=[];_1c=t;}else{_1d.push(x);}}this._pushSegment(_1c,_1d);},setShape:function(_1e){dojox.gfx.Shape.prototype.setShape.call(this,typeof _1e=="string"?{path:_1e}:_1e);this.segmented=false;this.segments=[];if(!dojox.gfx.lazyPathSegmentation){this._confirmSegmented();}return this;},_2PI:Math.PI*2});dojo.declare("dojox.gfx.path.TextPath",dojox.gfx.path.Path,{constructor:function(_1f){if(!("text" in this)){this.text=dojo.clone(dojox.gfx.defaultTextPath);}if(!("fontStyle" in this)){this.fontStyle=dojo.clone(dojox.gfx.defaultFont);}},getText:function(){return this.text;},setText:function(_20){this.text=dojox.gfx.makeParameters(this.text,typeof _20=="string"?{text:_20}:_20);this._setText();return this;},getFont:function(){return this.fontStyle;},setFont:function(_21){this.fontStyle=typeof _21=="string"?dojox.gfx.splitFontString(_21):d
 ojox.gfx.makeParameters(dojox.gfx.defaultFont,_21);this._setFont();return this;}});}
\ No newline at end of file

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/path.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/path.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/branches/3.0-beta/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/path.js
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message