You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xi...@apache.org on 2012/05/23 08:30:00 UTC

svn commit: r1341759 [10/10] - in /geronimo/server/trunk/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/ dijit/nls/fr...

Added: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg.js
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg.js?rev=1341759&view=auto
==============================================================================
--- geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg.js (added)
+++ geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg.js Wed May 23 06:29:55 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.svg"]){dojo._hasResource["dojox.gfx.svg"]=true;dojo.provide("dojox.gfx.svg");dojo.require("dojox.gfx._base");dojo.require("dojox.gfx.shape");dojo.require("dojox.gfx.path");(function(){var d=dojo,g=dojox.gfx,gs=g.shape,_1=g.svg;_1.useSvgWeb=(typeof (window.svgweb)!=="undefined");var _2=function(ns,_3){if(dojo.doc.createElementNS){return dojo.doc.createElementNS(ns,_3);}else{return dojo.doc.createElement(_3);}};var _4=function(_5){if(_1.useSvgWeb){return dojo.doc.createTextNode(_5,true);}else{return dojo.doc.createTextNode(_5);}};var _6=function(){if(_1.useSvgWeb){return dojo.doc.createDocumentFragment(true);}else{return dojo.doc.createDocumentFragment();}};_1.xmlns={xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg"};_1.getRef=function(_7){if(!_7||_7=="none"){return null;}if(_7.match(/^url\(#.+\)$/)){return d.byId(_7.slice(5,-1));}if(_7.match(/^#dojoUnique\d+$/)){return d.byId(_7.slice(1));}return null;};_1.dasharray={solid:
 "none",shortdash:[4,1],shortdot:[1,1],shortdashdot:[4,1,1,1],shortdashdotdot:[4,1,1,1,1,1],dot:[1,3],dash:[4,3],longdash:[8,3],dashdot:[4,3,1,3],longdashdot:[8,3,1,3],longdashdotdot:[8,3,1,3,1,3]};d.extend(g.Shape,{setFill:function(_8){if(!_8){this.fillStyle=null;this.rawNode.setAttribute("fill","none");this.rawNode.setAttribute("fill-opacity",0);return this;}var f;var _9=function(x){this.setAttribute(x,f[x].toFixed(8));};if(typeof (_8)=="object"&&"type" in _8){switch(_8.type){case "linear":f=g.makeParameters(g.defaultLinearGradient,_8);var _a=this._setFillObject(f,"linearGradient");d.forEach(["x1","y1","x2","y2"],_9,_a);break;case "radial":f=g.makeParameters(g.defaultRadialGradient,_8);var _a=this._setFillObject(f,"radialGradient");d.forEach(["cx","cy","r"],_9,_a);break;case "pattern":f=g.makeParameters(g.defaultPattern,_8);var _b=this._setFillObject(f,"pattern");d.forEach(["x","y","width","height"],_9,_b);break;}this.fillStyle=f;return this;}var f=g.normalizeColor(_8);this
 .fillStyle=f;this.rawNode.setAttribute("fill",f.toCss());this.rawNode.setAttribute("fill-opacity",f.a);this.rawNode.setAttribute("fill-rule","evenodd");return this;},setStroke:function(_c){var rn=this.rawNode;if(!_c){this.strokeStyle=null;rn.setAttribute("stroke","none");rn.setAttribute("stroke-opacity",0);return this;}if(typeof _c=="string"||d.isArray(_c)||_c instanceof d.Color){_c={color:_c};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_c);s.color=g.normalizeColor(s.color);if(s){rn.setAttribute("stroke",s.color.toCss());rn.setAttribute("stroke-opacity",s.color.a);rn.setAttribute("stroke-width",s.width);rn.setAttribute("stroke-linecap",s.cap);if(typeof s.join=="number"){rn.setAttribute("stroke-linejoin","miter");rn.setAttribute("stroke-miterlimit",s.join);}else{rn.setAttribute("stroke-linejoin",s.join);}var da=s.style.toLowerCase();if(da in _1.dasharray){da=_1.dasharray[da];}if(da instanceof Array){da=d._toArray(da);for(var i=0;i<da.length;++i){da[i]*=s.width;}i
 f(s.cap!="butt"){for(var i=0;i<da.length;i+=2){da[i]-=s.width;if(da[i]<1){da[i]=1;}}for(var i=1;i<da.length;i+=2){da[i]+=s.width;}}da=da.join(",");}rn.setAttribute("stroke-dasharray",da);rn.setAttribute("dojoGfxStrokeStyle",s.style);}return this;},_getParentSurface:function(){var _d=this.parent;for(;_d&&!(_d instanceof g.Surface);_d=_d.parent){}return _d;},_setFillObject:function(f,_e){var _f=_1.xmlns.svg;this.fillStyle=f;var _10=this._getParentSurface(),_11=_10.defNode,_12=this.rawNode.getAttribute("fill"),ref=_1.getRef(_12);if(ref){_12=ref;if(_12.tagName.toLowerCase()!=_e.toLowerCase()){var id=_12.id;_12.parentNode.removeChild(_12);_12=_2(_f,_e);_12.setAttribute("id",id);_11.appendChild(_12);}else{while(_12.childNodes.length){_12.removeChild(_12.lastChild);}}}else{_12=_2(_f,_e);_12.setAttribute("id",g._base._getUniqueId());_11.appendChild(_12);}if(_e=="pattern"){_12.setAttribute("patternUnits","userSpaceOnUse");var img=_2(_f,"image");img.setAttribute("x",0);img.setAttribut
 e("y",0);img.setAttribute("width",f.width.toFixed(8));img.setAttribute("height",f.height.toFixed(8));img.setAttributeNS(_1.xmlns.xlink,"xlink:href",f.src);_12.appendChild(img);}else{_12.setAttribute("gradientUnits","userSpaceOnUse");for(var i=0;i<f.colors.length;++i){var c=f.colors[i],t=_2(_f,"stop"),cc=c.color=g.normalizeColor(c.color);t.setAttribute("offset",c.offset.toFixed(8));t.setAttribute("stop-color",cc.toCss());t.setAttribute("stop-opacity",cc.a);_12.appendChild(t);}}this.rawNode.setAttribute("fill","url(#"+_12.getAttribute("id")+")");this.rawNode.removeAttribute("fill-opacity");this.rawNode.setAttribute("fill-rule","evenodd");return _12;},_applyTransform:function(){var _13=this.matrix;if(_13){var tm=this.matrix;this.rawNode.setAttribute("transform","matrix("+tm.xx.toFixed(8)+","+tm.yx.toFixed(8)+","+tm.xy.toFixed(8)+","+tm.yy.toFixed(8)+","+tm.dx.toFixed(8)+","+tm.dy.toFixed(8)+")");}else{this.rawNode.removeAttribute("transform");}return this;},setRawNode:function(
 _14){var r=this.rawNode=_14;if(this.shape.type!="image"){r.setAttribute("fill","none");}r.setAttribute("fill-opacity",0);r.setAttribute("stroke","none");r.setAttribute("stroke-opacity",0);r.setAttribute("stroke-width",1);r.setAttribute("stroke-linecap","butt");r.setAttribute("stroke-linejoin","miter");r.setAttribute("stroke-miterlimit",4);},setShape:function(_15){this.shape=g.makeParameters(this.shape,_15);for(var i in this.shape){if(i!="type"){this.rawNode.setAttribute(i,this.shape[i]);}}this.bbox=null;return this;},_moveToFront:function(){this.rawNode.parentNode.appendChild(this.rawNode);return this;},_moveToBack:function(){this.rawNode.parentNode.insertBefore(this.rawNode,this.rawNode.parentNode.firstChild);return this;}});dojo.declare("dojox.gfx.Group",g.Shape,{constructor:function(){_1.Container._init.call(this);},setRawNode:function(_16){this.rawNode=_16;}});g.Group.nodeType="g";dojo.declare("dojox.gfx.Rect",gs.Rect,{setShape:function(_17){this.shape=g.makeParameters(t
 his.shape,_17);this.bbox=null;for(var i in this.shape){if(i!="type"&&i!="r"){this.rawNode.setAttribute(i,this.shape[i]);}}if(this.shape.r){this.rawNode.setAttribute("ry",this.shape.r);this.rawNode.setAttribute("rx",this.shape.r);}return this;}});g.Rect.nodeType="rect";g.Ellipse=gs.Ellipse;g.Ellipse.nodeType="ellipse";g.Circle=gs.Circle;g.Circle.nodeType="circle";g.Line=gs.Line;g.Line.nodeType="line";dojo.declare("dojox.gfx.Polyline",gs.Polyline,{setShape:function(_18,_19){if(_18&&_18 instanceof Array){this.shape=g.makeParameters(this.shape,{points:_18});if(_19&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.shape=g.makeParameters(this.shape,_18);}this.bbox=null;this._normalizePoints();var _1a=[],p=this.shape.points;for(var i=0;i<p.length;++i){_1a.push(p[i].x.toFixed(8),p[i].y.toFixed(8));}this.rawNode.setAttribute("points",_1a.join(" "));return this;}});g.Polyline.nodeType="polyline";dojo.declare("dojox.gfx.Image",gs.Image,{setShape:functi
 on(_1b){this.shape=g.makeParameters(this.shape,_1b);this.bbox=null;var _1c=this.rawNode;for(var i in this.shape){if(i!="type"&&i!="src"){_1c.setAttribute(i,this.shape[i]);}}_1c.setAttribute("preserveAspectRatio","none");_1c.setAttributeNS(_1.xmlns.xlink,"xlink:href",this.shape.src);return this;}});g.Image.nodeType="image";dojo.declare("dojox.gfx.Text",gs.Text,{setShape:function(_1d){this.shape=g.makeParameters(this.shape,_1d);this.bbox=null;var r=this.rawNode,s=this.shape;r.setAttribute("x",s.x);r.setAttribute("y",s.y);r.setAttribute("text-anchor",s.align);r.setAttribute("text-decoration",s.decoration);r.setAttribute("rotate",s.rotated?90:0);r.setAttribute("kerning",s.kerning?"auto":0);r.setAttribute("text-rendering","optimizeLegibility");if(r.firstChild){r.firstChild.nodeValue=s.text;}else{r.appendChild(_4(s.text));}return this;},getTextWidth:function(){var _1e=this.rawNode,_1f=_1e.parentNode,_20=_1e.cloneNode(true);_20.style.visibility="hidden";var _21=0,_22=_20.firstChild
 .nodeValue;_1f.appendChild(_20);if(_22!=""){while(!_21){if(_20.getBBox){_21=parseInt(_20.getBBox().width);}else{_21=68;}}}_1f.removeChild(_20);return _21;}});g.Text.nodeType="text";dojo.declare("dojox.gfx.Path",g.path.Path,{_updateWithSegment:function(_23){g.Path.superclass._updateWithSegment.apply(this,arguments);if(typeof (this.shape.path)=="string"){this.rawNode.setAttribute("d",this.shape.path);}},setShape:function(_24){g.Path.superclass.setShape.apply(this,arguments);this.rawNode.setAttribute("d",this.shape.path);return this;}});g.Path.nodeType="path";dojo.declare("dojox.gfx.TextPath",g.path.TextPath,{_updateWithSegment:function(_25){g.Path.superclass._updateWithSegment.apply(this,arguments);this._setTextPath();},setShape:function(_26){g.Path.superclass.setShape.apply(this,arguments);this._setTextPath();return this;},_setTextPath:function(){if(typeof this.shape.path!="string"){return;}var r=this.rawNode;if(!r.firstChild){var tp=_2(_1.xmlns.svg,"textPath"),tx=_4("");tp.a
 ppendChild(tx);r.appendChild(tp);}var ref=r.firstChild.getAttributeNS(_1.xmlns.xlink,"href"),_27=ref&&_1.getRef(ref);if(!_27){var _28=this._getParentSurface();if(_28){var _29=_28.defNode;_27=_2(_1.xmlns.svg,"path");var id=g._base._getUniqueId();_27.setAttribute("id",id);_29.appendChild(_27);r.firstChild.setAttributeNS(_1.xmlns.xlink,"xlink:href","#"+id);}}if(_27){_27.setAttribute("d",this.shape.path);}},_setText:function(){var r=this.rawNode;if(!r.firstChild){var tp=_2(_1.xmlns.svg,"textPath"),tx=_4("");tp.appendChild(tx);r.appendChild(tp);}r=r.firstChild;var t=this.text;r.setAttribute("alignment-baseline","middle");switch(t.align){case "middle":r.setAttribute("text-anchor","middle");r.setAttribute("startOffset","50%");break;case "end":r.setAttribute("text-anchor","end");r.setAttribute("startOffset","100%");break;default:r.setAttribute("text-anchor","start");r.setAttribute("startOffset","0%");break;}r.setAttribute("baseline-shift","0.5ex");r.setAttribute("text-decoration",t.
 decoration);r.setAttribute("rotate",t.rotated?90:0);r.setAttribute("kerning",t.kerning?"auto":0);r.firstChild.data=t.text;}});g.TextPath.nodeType="text";dojo.declare("dojox.gfx.Surface",gs.Surface,{constructor:function(){_1.Container._init.call(this);},destroy:function(){this.defNode=null;this.inherited(arguments);},setDimensions:function(_2a,_2b){if(!this.rawNode){return this;}this.rawNode.setAttribute("width",_2a);this.rawNode.setAttribute("height",_2b);return this;},getDimensions:function(){var t=this.rawNode?{width:g.normalizedLength(this.rawNode.getAttribute("width")),height:g.normalizedLength(this.rawNode.getAttribute("height"))}:null;return t;}});g.createSurface=function(_2c,_2d,_2e){var s=new g.Surface();s.rawNode=_2(_1.xmlns.svg,"svg");if(_2d){s.rawNode.setAttribute("width",_2d);}if(_2e){s.rawNode.setAttribute("height",_2e);}var _2f=_2(_1.xmlns.svg,"defs");s.rawNode.appendChild(_2f);s.defNode=_2f;s._parent=d.byId(_2c);s._parent.appendChild(s.rawNode);return s;};_1.F
 ont={_setFont:function(){var f=this.fontStyle;this.rawNode.setAttribute("font-style",f.style);this.rawNode.setAttribute("font-variant",f.variant);this.rawNode.setAttribute("font-weight",f.weight);this.rawNode.setAttribute("font-size",f.size);this.rawNode.setAttribute("font-family",f.family);}};_1.Container={_init:function(){gs.Container._init.call(this);},openBatch:function(){this.fragment=_6();},closeBatch:function(){if(this.fragment){this.rawNode.appendChild(this.fragment);delete this.fragment;}},add:function(_30){if(this!=_30.getParent()){if(this.fragment){this.fragment.appendChild(_30.rawNode);}else{this.rawNode.appendChild(_30.rawNode);}gs.Container.add.apply(this,arguments);}return this;},remove:function(_31,_32){if(this==_31.getParent()){if(this.rawNode==_31.rawNode.parentNode){this.rawNode.removeChild(_31.rawNode);}if(this.fragment&&this.fragment==_31.rawNode.parentNode){this.fragment.removeChild(_31.rawNode);}gs.Container.remove.apply(this,arguments);}return this;},
 clear:function(){var r=this.rawNode;while(r.lastChild){r.removeChild(r.lastChild);}var _33=this.defNode;if(_33){while(_33.lastChild){_33.removeChild(_33.lastChild);}r.appendChild(_33);}return gs.Container.clear.apply(this,arguments);},_moveChildToFront:gs.Container._moveChildToFront,_moveChildToBack:gs.Container._moveChildToBack};d.mixin(gs.Creator,{createObject:function(_34,_35){if(!this.rawNode){return null;}var _36=new _34(),_37=_2(_1.xmlns.svg,_34.nodeType);_36.setRawNode(_37);_36.setShape(_35);this.add(_36);return _36;}});d.extend(g.Text,_1.Font);d.extend(g.TextPath,_1.Font);d.extend(g.Group,_1.Container);d.extend(g.Group,gs.Creator);d.extend(g.Surface,_1.Container);d.extend(g.Surface,gs.Creator);if(_1.useSvgWeb){g.createSurface=function(_38,_39,_3a){var s=new g.Surface();if(!_39||!_3a){var pos=d.position(_38);_39=_39||pos.w;_3a=_3a||pos.h;}_38=d.byId(_38);var id=_38.id?_38.id+"_svgweb":g._base._getUniqueId();var _3b=_2(_1.xmlns.svg,"svg");_3b.id=id;_3b.setAttribute("wi
 dth",_39);_3b.setAttribute("height",_3a);svgweb.appendChild(_3b,_38);_3b.addEventListener("SVGLoad",function(){s.rawNode=this;s.isLoaded=true;var _3c=_2(_1.xmlns.svg,"defs");s.rawNode.appendChild(_3c);s.defNode=_3c;if(s.onLoad){s.onLoad(s);}},false);s.isLoaded=false;return s;};dojo.extend(dojox.gfx.shape.Surface,{destroy:function(){var _3d=this.rawNode;svgweb.removeChild(_3d,_3d.parentNode);}});gs._eventsProcessing.connect=function(_3e,_3f,_40){if(_3e.substring(0,2)==="on"){_3e=_3e.substring(2);}if(arguments.length==2){_40=_3f;}else{_40=d.hitch(_3f,_40);}this.getEventSource().addEventListener(_3e,_40,false);return [this,_3e,_40];};gs._eventsProcessing.disconnect=function(_41){this.getEventSource().removeEventListener(_41[1],_41[2],false);delete _41[0];};dojo.extend(dojox.gfx.Shape,dojox.gfx.shape._eventsProcessing);dojo.extend(dojox.gfx.shape.Surface,dojox.gfx.shape._eventsProcessing);}})();}
\ No newline at end of file

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

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

Added: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg_attach.js
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg_attach.js?rev=1341759&view=auto
==============================================================================
--- geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg_attach.js (added)
+++ geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg_attach.js Wed May 23 06:29:55 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.svg");dojo.experimental("dojox.gfx.svg_attach");(function(){dojox.gfx.attachNode=function(_1){if(!_1){return null;}var s=null;switch(_1.tagName.toLowerCase()){case dojox.gfx.Rect.nodeType:s=new dojox.gfx.Rect(_1);_2(s);break;case dojox.gfx.Ellipse.nodeType:s=new dojox.gfx.Ellipse(_1);_3(s,dojox.gfx.defaultEllipse);break;case dojox.gfx.Polyline.nodeType:s=new dojox.gfx.Polyline(_1);_3(s,dojox.gfx.defaultPolyline);break;case dojox.gfx.Path.nodeType:s=new dojox.gfx.Path(_1);_3(s,dojox.gfx.defaultPath);break;case dojox.gfx.Circle.nodeType:s=new dojox.gfx.Circle(_1);_3(s,dojox.gfx.defaultCircle);break;case dojox.gfx.Line.nodeType:s=new dojox.gfx.Line(_1);_3(s,dojox.gfx.defaultLine);break;case dojox.gfx.Image.nodeType:s=new dojox.gfx.Image(_1);_3(s,dojox.gfx.defaultImage);break;case dojox.gfx.Text.nodeType:var t=_1.getElementsByTagName("textPath");if(t&&t.length){s=new dojox.gfx.TextPath(_1);_3(s,dojox.gfx.defaultPath);_4(s);}else{s=new dojox.gfx.Text(_1);_
 5(s);}_6(s);break;default:return null;}if(!(s instanceof dojox.gfx.Image)){_7(s);_8(s);}_9(s);return s;};dojox.gfx.attachSurface=function(_a){var s=new dojox.gfx.Surface();s.rawNode=_a;var _b=_a.getElementsByTagName("defs");if(_b.length==0){return null;}s.defNode=_b[0];return s;};var _7=function(_c){var _d=_c.rawNode.getAttribute("fill");if(_d=="none"){_c.fillStyle=null;return;}var _e=null,_f=dojox.gfx.svg.getRef(_d);if(_f){switch(_f.tagName.toLowerCase()){case "lineargradient":_e=_10(dojox.gfx.defaultLinearGradient,_f);dojo.forEach(["x1","y1","x2","y2"],function(x){_e[x]=_f.getAttribute(x);});break;case "radialgradient":_e=_10(dojox.gfx.defaultRadialGradient,_f);dojo.forEach(["cx","cy","r"],function(x){_e[x]=_f.getAttribute(x);});_e.cx=_f.getAttribute("cx");_e.cy=_f.getAttribute("cy");_e.r=_f.getAttribute("r");break;case "pattern":_e=dojo.lang.shallowCopy(dojox.gfx.defaultPattern,true);dojo.forEach(["x","y","width","height"],function(x){_e[x]=_f.getAttribute(x);});_e.src=_f
 .firstChild.getAttributeNS(dojox.gfx.svg.xmlns.xlink,"href");break;}}else{_e=new dojo.Color(_d);var _11=_c.rawNode.getAttribute("fill-opacity");if(_11!=null){_e.a=_11;}}_c.fillStyle=_e;};var _10=function(_12,_13){var _14=dojo.clone(_12);_14.colors=[];for(var i=0;i<_13.childNodes.length;++i){_14.colors.push({offset:_13.childNodes[i].getAttribute("offset"),color:new dojo.Color(_13.childNodes[i].getAttribute("stop-color"))});}return _14;};var _8=function(_15){var _16=_15.rawNode,_17=_16.getAttribute("stroke");if(_17==null||_17=="none"){_15.strokeStyle=null;return;}var _18=_15.strokeStyle=dojo.clone(dojox.gfx.defaultStroke);var _19=new dojo.Color(_17);if(_19){_18.color=_19;_18.color.a=_16.getAttribute("stroke-opacity");_18.width=_16.getAttribute("stroke-width");_18.cap=_16.getAttribute("stroke-linecap");_18.join=_16.getAttribute("stroke-linejoin");if(_18.join=="miter"){_18.join=_16.getAttribute("stroke-miterlimit");}_18.style=_16.getAttribute("dojoGfxStrokeStyle");}};var _9=func
 tion(_1a){var _1b=_1a.rawNode.getAttribute("transform");if(_1b.match(/^matrix\(.+\)$/)){var t=_1b.slice(7,-1).split(",");_1a.matrix=dojox.gfx.matrix.normalize({xx:parseFloat(t[0]),xy:parseFloat(t[2]),yx:parseFloat(t[1]),yy:parseFloat(t[3]),dx:parseFloat(t[4]),dy:parseFloat(t[5])});}else{_1a.matrix=null;}};var _6=function(_1c){var _1d=_1c.fontStyle=dojo.clone(dojox.gfx.defaultFont),r=_1c.rawNode;_1d.style=r.getAttribute("font-style");_1d.variant=r.getAttribute("font-variant");_1d.weight=r.getAttribute("font-weight");_1d.size=r.getAttribute("font-size");_1d.family=r.getAttribute("font-family");};var _3=function(_1e,def){var _1f=_1e.shape=dojo.clone(def),r=_1e.rawNode;for(var i in _1f){_1f[i]=r.getAttribute(i);}};var _2=function(_20){_3(_20,dojox.gfx.defaultRect);_20.shape.r=Math.min(_20.rawNode.getAttribute("rx"),_20.rawNode.getAttribute("ry"));};var _5=function(_21){var _22=_21.shape=dojo.clone(dojox.gfx.defaultText),r=_21.rawNode;_22.x=r.getAttribute("x");_22.y=r.getAttribut
 e("y");_22.align=r.getAttribute("text-anchor");_22.decoration=r.getAttribute("text-decoration");_22.rotated=parseFloat(r.getAttribute("rotate"))!=0;_22.kerning=r.getAttribute("kerning")=="auto";_22.text=r.firstChild.nodeValue;};var _4=function(_23){var _24=_23.shape=dojo.clone(dojox.gfx.defaultTextPath),r=_23.rawNode;_24.align=r.getAttribute("text-anchor");_24.decoration=r.getAttribute("text-decoration");_24.rotated=parseFloat(r.getAttribute("rotate"))!=0;_24.kerning=r.getAttribute("kerning")=="auto";_24.text=r.firstChild.nodeValue;};})();
\ No newline at end of file

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg_attach.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/svg_attach.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

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

Added: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/utils.js
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/utils.js?rev=1341759&view=auto
==============================================================================
--- geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/utils.js (added)
+++ geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/utils.js Wed May 23 06:29:55 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.utils"]){dojo._hasResource["dojox.gfx.utils"]=true;dojo.provide("dojox.gfx.utils");dojo.require("dojox.gfx");(function(){var d=dojo,g=dojox.gfx,gu=g.utils;dojo.mixin(gu,{forEach:function(_1,f,o){o=o||d.global;f.call(o,_1);if(_1 instanceof g.Surface||_1 instanceof g.Group){d.forEach(_1.children,function(_2){gu.forEach(_2,f,o);});}},serialize:function(_3){var t={},v,_4=_3 instanceof g.Surface;if(_4||_3 instanceof g.Group){t.children=d.map(_3.children,gu.serialize);if(_4){return t.children;}}else{t.shape=_3.getShape();}if(_3.getTransform){v=_3.getTransform();if(v){t.transform=v;}}if(_3.getStroke){v=_3.getStroke();if(v){t.stroke=v;}}if(_3.getFill){v=_3.getFill();if(v){t.fill=v;}}if(_3.getFont){v=_3.getFont();if(v){t.font=v;}}return t;},toJson:function(_5,_6){return d.toJson(gu.serialize(_5),_6);},deserialize:function(_7,_8){if(_8 instanceof Array){return d.map(_8,d.hitch(null,gu.deserialize,_7));}var _9=("shape" in _8)?_7.createShape(_8.shape):_7
 .createGroup();if("transform" in _8){_9.setTransform(_8.transform);}if("stroke" in _8){_9.setStroke(_8.stroke);}if("fill" in _8){_9.setFill(_8.fill);}if("font" in _8){_9.setFont(_8.font);}if("children" in _8){d.forEach(_8.children,d.hitch(null,gu.deserialize,_9));}return _9;},fromJson:function(_a,_b){return gu.deserialize(_a,d.fromJson(_b));},toSvg:function(_c){var _d=new dojo.Deferred();if(dojox.gfx.renderer==="svg"){try{var _e=gu._cleanSvg(gu._innerXML(_c.rawNode));_d.callback(_e);}catch(e){_d.errback(e);}}else{if(!gu._initSvgSerializerDeferred){gu._initSvgSerializer();}var _f=dojox.gfx.utils.toJson(_c);var _10=function(){try{var _11=_c.getDimensions();var _12=_11.width;var _13=_11.height;var _14=gu._gfxSvgProxy.document.createElement("div");gu._gfxSvgProxy.document.body.appendChild(_14);dojo.withDoc(gu._gfxSvgProxy.document,function(){dojo.style(_14,"width",_12);dojo.style(_14,"height",_13);},this);var ts=gu._gfxSvgProxy[dojox._scopeName].gfx.createSurface(_14,_12,_13);va
 r _15=function(_16){try{gu._gfxSvgProxy[dojox._scopeName].gfx.utils.fromJson(_16,_f);var svg=gu._cleanSvg(_14.innerHTML);_16.clear();_16.destroy();gu._gfxSvgProxy.document.body.removeChild(_14);_d.callback(svg);}catch(e){_d.errback(e);}};ts.whenLoaded(null,_15);}catch(ex){_d.errback(ex);}};if(gu._initSvgSerializerDeferred.fired>0){_10();}else{gu._initSvgSerializerDeferred.addCallback(_10);}}return _d;},_gfxSvgProxy:null,_initSvgSerializerDeferred:null,_svgSerializerInitialized:function(){gu._initSvgSerializerDeferred.callback(true);},_initSvgSerializer:function(){if(!gu._initSvgSerializerDeferred){gu._initSvgSerializerDeferred=new dojo.Deferred();var f=dojo.doc.createElement("iframe");dojo.style(f,{display:"none",position:"absolute",width:"1em",height:"1em",top:"-10000px"});var _17;if(dojo.isIE){f.onreadystatechange=function(){if(f.contentWindow.document.readyState=="complete"){f.onreadystatechange=function(){};_17=setInterval(function(){if(f.contentWindow[dojo._scopeName]&&
 f.contentWindow[dojox._scopeName].gfx&&f.contentWindow[dojox._scopeName].gfx.utils){clearInterval(_17);f.contentWindow.parent[dojox._scopeName].gfx.utils._gfxSvgProxy=f.contentWindow;f.contentWindow.parent[dojox._scopeName].gfx.utils._svgSerializerInitialized();}},50);}};}else{f.onload=function(){f.onload=function(){};_17=setInterval(function(){if(f.contentWindow[dojo._scopeName]&&f.contentWindow[dojox._scopeName].gfx&&f.contentWindow[dojox._scopeName].gfx.utils){clearInterval(_17);f.contentWindow.parent[dojox._scopeName].gfx.utils._gfxSvgProxy=f.contentWindow;f.contentWindow.parent[dojox._scopeName].gfx.utils._svgSerializerInitialized();}},50);};}var uri=(dojo.config["dojoxGfxSvgProxyFrameUrl"]||dojo.moduleUrl("dojox","gfx/resources/gfxSvgProxyFrame.html"));f.setAttribute("src",uri);dojo.body().appendChild(f);}},_innerXML:function(_18){if(_18.innerXML){return _18.innerXML;}else{if(_18.xml){return _18.xml;}else{if(typeof XMLSerializer!="undefined"){return (new XMLSerializer(
 )).serializeToString(_18);}}}return null;},_cleanSvg:function(svg){if(svg){if(svg.indexOf("xmlns=\"http://www.w3.org/2000/svg\"")==-1){svg=svg.substring(4,svg.length);svg="<svg xmlns=\"http://www.w3.org/2000/svg\""+svg;}svg=svg.replace(/\bdojoGfx\w*\s*=\s*(['"])\w*\1/g,"");}return svg;}});})();}
\ No newline at end of file

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/utils.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/utils.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

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

Added: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml.js
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml.js?rev=1341759&view=auto
==============================================================================
--- geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml.js (added)
+++ geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml.js Wed May 23 06:29:55 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.vml"]){dojo._hasResource["dojox.gfx.vml"]=true;dojo.provide("dojox.gfx.vml");dojo.require("dojox.gfx._base");dojo.require("dojox.gfx.shape");dojo.require("dojox.gfx.path");dojo.require("dojox.gfx.arc");dojo.require("dojox.gfx.gradient");(function(){var d=dojo,g=dojox.gfx,m=g.matrix,gs=g.shape,_1=g.vml;_1.xmlns="urn:schemas-microsoft-com:vml";_1.text_alignment={start:"left",middle:"center",end:"right"};_1._parseFloat=function(_2){return _2.match(/^\d+f$/i)?parseInt(_2)/65536:parseFloat(_2);};_1._bool={"t":1,"true":1};d.extend(g.Shape,{setFill:function(_3){if(!_3){this.fillStyle=null;this.rawNode.filled="f";return this;}var i,f,fo,a,s;if(typeof _3=="object"&&"type" in _3){switch(_3.type){case "linear":var _4=this._getRealMatrix(),_5=this.getBoundingBox(),_6=this._getRealBBox?this._getRealBBox():this.getTransformedBoundingBox();s=[];if(this.fillStyle!==_3){this.fillStyle=g.makeParameters(g.defaultLinearGradient,_3);}f=g.gradient.project(_4,this.
 fillStyle,{x:_5.x,y:_5.y},{x:_5.x+_5.width,y:_5.y+_5.height},_6[0],_6[2]);a=f.colors;if(a[0].offset.toFixed(5)!="0.00000"){s.push("0 "+g.normalizeColor(a[0].color).toHex());}for(i=0;i<a.length;++i){s.push(a[i].offset.toFixed(5)+" "+g.normalizeColor(a[i].color).toHex());}i=a.length-1;if(a[i].offset.toFixed(5)!="1.00000"){s.push("1 "+g.normalizeColor(a[i].color).toHex());}fo=this.rawNode.fill;fo.colors.value=s.join(";");fo.method="sigma";fo.type="gradient";fo.angle=(270-m._radToDeg(f.angle))%360;fo.on=true;break;case "radial":f=g.makeParameters(g.defaultRadialGradient,_3);this.fillStyle=f;var l=parseFloat(this.rawNode.style.left),t=parseFloat(this.rawNode.style.top),w=parseFloat(this.rawNode.style.width),h=parseFloat(this.rawNode.style.height),c=isNaN(w)?1:2*f.r/w;a=[];if(f.colors[0].offset>0){a.push({offset:1,color:g.normalizeColor(f.colors[0].color)});}d.forEach(f.colors,function(v,i){a.push({offset:1-v.offset*c,color:g.normalizeColor(v.color)});});i=a.length-1;while(i>=0&&a
 [i].offset<0){--i;}if(i<a.length-1){var q=a[i],p=a[i+1];p.color=d.blendColors(q.color,p.color,q.offset/(q.offset-p.offset));p.offset=0;while(a.length-i>2){a.pop();}}i=a.length-1,s=[];if(a[i].offset>0){s.push("0 "+a[i].color.toHex());}for(;i>=0;--i){s.push(a[i].offset.toFixed(5)+" "+a[i].color.toHex());}fo=this.rawNode.fill;fo.colors.value=s.join(";");fo.method="sigma";fo.type="gradientradial";if(isNaN(w)||isNaN(h)||isNaN(l)||isNaN(t)){fo.focusposition="0.5 0.5";}else{fo.focusposition=((f.cx-l)/w).toFixed(5)+" "+((f.cy-t)/h).toFixed(5);}fo.focussize="0 0";fo.on=true;break;case "pattern":f=g.makeParameters(g.defaultPattern,_3);this.fillStyle=f;fo=this.rawNode.fill;fo.type="tile";fo.src=f.src;if(f.width&&f.height){fo.size.x=g.px2pt(f.width);fo.size.y=g.px2pt(f.height);}fo.alignShape="f";fo.position.x=0;fo.position.y=0;fo.origin.x=f.width?f.x/f.width:0;fo.origin.y=f.height?f.y/f.height:0;fo.on=true;break;}this.rawNode.fill.opacity=1;return this;}this.fillStyle=g.normalizeColor(_
 3);fo=this.rawNode.fill;if(!fo){fo=this.rawNode.ownerDocument.createElement("v:fill");}fo.method="any";fo.type="solid";fo.opacity=this.fillStyle.a;this.rawNode.fillcolor=this.fillStyle.toHex();this.rawNode.filled=true;return this;},setStroke:function(_7){if(!_7){this.strokeStyle=null;this.rawNode.stroked="f";return this;}if(typeof _7=="string"||d.isArray(_7)||_7 instanceof d.Color){_7={color:_7};}var s=this.strokeStyle=g.makeParameters(g.defaultStroke,_7);s.color=g.normalizeColor(s.color);var rn=this.rawNode;rn.stroked=true;rn.strokecolor=s.color.toCss();rn.strokeweight=s.width+"px";if(rn.stroke){rn.stroke.opacity=s.color.a;rn.stroke.endcap=this._translate(this._capMap,s.cap);if(typeof s.join=="number"){rn.stroke.joinstyle="miter";rn.stroke.miterlimit=s.join;}else{rn.stroke.joinstyle=s.join;}rn.stroke.dashstyle=s.style=="none"?"Solid":s.style;}return this;},_capMap:{butt:"flat"},_capMapReversed:{flat:"butt"},_translate:function(_8,_9){return (_9 in _8)?_8[_9]:_9;},_applyTran
 sform:function(){var _a=this._getRealMatrix();if(_a){var _b=this.rawNode.skew;if(typeof _b=="undefined"){for(var i=0;i<this.rawNode.childNodes.length;++i){if(this.rawNode.childNodes[i].tagName=="skew"){_b=this.rawNode.childNodes[i];break;}}}if(_b){_b.on="f";var mt=_a.xx.toFixed(8)+" "+_a.xy.toFixed(8)+" "+_a.yx.toFixed(8)+" "+_a.yy.toFixed(8)+" 0 0",_c=Math.floor(_a.dx).toFixed()+"px "+Math.floor(_a.dy).toFixed()+"px",s=this.rawNode.style,l=parseFloat(s.left),t=parseFloat(s.top),w=parseFloat(s.width),h=parseFloat(s.height);if(isNaN(l)){l=0;}if(isNaN(t)){t=0;}if(isNaN(w)||!w){w=1;}if(isNaN(h)||!h){h=1;}var _d=(-l/w-0.5).toFixed(8)+" "+(-t/h-0.5).toFixed(8);_b.matrix=mt;_b.origin=_d;_b.offset=_c;_b.on=true;}}if(this.fillStyle&&this.fillStyle.type=="linear"){this.setFill(this.fillStyle);}return this;},_setDimensions:function(_e,_f){return this;},setRawNode:function(_10){_10.stroked="f";_10.filled="f";this.rawNode=_10;},_moveToFront:function(){this.rawNode.parentNode.appendChild
 (this.rawNode);return this;},_moveToBack:function(){var r=this.rawNode,p=r.parentNode,n=p.firstChild;p.insertBefore(r,n);if(n.tagName=="rect"){n.swapNode(r);}return this;},_getRealMatrix:function(){return this.parentMatrix?new g.Matrix2D([this.parentMatrix,this.matrix]):this.matrix;}});dojo.declare("dojox.gfx.Group",g.Shape,{constructor:function(){_1.Container._init.call(this);},_applyTransform:function(){var _11=this._getRealMatrix();for(var i=0;i<this.children.length;++i){this.children[i]._updateParentMatrix(_11);}return this;},_setDimensions:function(_12,_13){var r=this.rawNode,rs=r.style,bs=this.bgNode.style;rs.width=_12;rs.height=_13;r.coordsize=_12+" "+_13;bs.width=_12;bs.height=_13;for(var i=0;i<this.children.length;++i){this.children[i]._setDimensions(_12,_13);}return this;}});g.Group.nodeType="group";dojo.declare("dojox.gfx.Rect",gs.Rect,{setShape:function(_14){var _15=this.shape=g.makeParameters(this.shape,_14);this.bbox=null;var r=Math.min(1,(_15.r/Math.min(parseF
 loat(_15.width),parseFloat(_15.height)))).toFixed(8);var _16=this.rawNode.parentNode,_17=null;if(_16){if(_16.lastChild!==this.rawNode){for(var i=0;i<_16.childNodes.length;++i){if(_16.childNodes[i]===this.rawNode){_17=_16.childNodes[i+1];break;}}}_16.removeChild(this.rawNode);}if(d.isIE>7){var _18=this.rawNode.ownerDocument.createElement("v:roundrect");_18.arcsize=r;_18.style.display="inline-block";this.rawNode=_18;}else{this.rawNode.arcsize=r;}if(_16){if(_17){_16.insertBefore(this.rawNode,_17);}else{_16.appendChild(this.rawNode);}}var _19=this.rawNode.style;_19.left=_15.x.toFixed();_19.top=_15.y.toFixed();_19.width=(typeof _15.width=="string"&&_15.width.indexOf("%")>=0)?_15.width:_15.width.toFixed();_19.height=(typeof _15.width=="string"&&_15.height.indexOf("%")>=0)?_15.height:_15.height.toFixed();return this.setTransform(this.matrix).setFill(this.fillStyle).setStroke(this.strokeStyle);}});g.Rect.nodeType="roundrect";dojo.declare("dojox.gfx.Ellipse",gs.Ellipse,{setShape:func
 tion(_1a){var _1b=this.shape=g.makeParameters(this.shape,_1a);this.bbox=null;var _1c=this.rawNode.style;_1c.left=(_1b.cx-_1b.rx).toFixed();_1c.top=(_1b.cy-_1b.ry).toFixed();_1c.width=(_1b.rx*2).toFixed();_1c.height=(_1b.ry*2).toFixed();return this.setTransform(this.matrix);}});g.Ellipse.nodeType="oval";dojo.declare("dojox.gfx.Circle",gs.Circle,{setShape:function(_1d){var _1e=this.shape=g.makeParameters(this.shape,_1d);this.bbox=null;var _1f=this.rawNode.style;_1f.left=(_1e.cx-_1e.r).toFixed();_1f.top=(_1e.cy-_1e.r).toFixed();_1f.width=(_1e.r*2).toFixed();_1f.height=(_1e.r*2).toFixed();return this;}});g.Circle.nodeType="oval";dojo.declare("dojox.gfx.Line",gs.Line,{constructor:function(_20){if(_20){_20.setAttribute("dojoGfxType","line");}},setShape:function(_21){var _22=this.shape=g.makeParameters(this.shape,_21);this.bbox=null;this.rawNode.path.v="m"+_22.x1.toFixed()+" "+_22.y1.toFixed()+"l"+_22.x2.toFixed()+" "+_22.y2.toFixed()+"e";return this.setTransform(this.matrix);}});g
 .Line.nodeType="shape";dojo.declare("dojox.gfx.Polyline",gs.Polyline,{constructor:function(_23){if(_23){_23.setAttribute("dojoGfxType","polyline");}},setShape:function(_24,_25){if(_24&&_24 instanceof Array){this.shape=g.makeParameters(this.shape,{points:_24});if(_25&&this.shape.points.length){this.shape.points.push(this.shape.points[0]);}}else{this.shape=g.makeParameters(this.shape,_24);}this.bbox=null;this._normalizePoints();var _26=[],p=this.shape.points;if(p.length>0){_26.push("m");_26.push(p[0].x.toFixed(),p[0].y.toFixed());if(p.length>1){_26.push("l");for(var i=1;i<p.length;++i){_26.push(p[i].x.toFixed(),p[i].y.toFixed());}}}_26.push("e");this.rawNode.path.v=_26.join(" ");return this.setTransform(this.matrix);}});g.Polyline.nodeType="shape";dojo.declare("dojox.gfx.Image",gs.Image,{setShape:function(_27){var _28=this.shape=g.makeParameters(this.shape,_27);this.bbox=null;this.rawNode.firstChild.src=_28.src;return this.setTransform(this.matrix);},_applyTransform:function()
 {var _29=this._getRealMatrix(),_2a=this.rawNode,s=_2a.style,_2b=this.shape;if(_29){_29=m.multiply(_29,{dx:_2b.x,dy:_2b.y});}else{_29=m.normalize({dx:_2b.x,dy:_2b.y});}if(_29.xy==0&&_29.yx==0&&_29.xx>0&&_29.yy>0){s.filter="";s.width=Math.floor(_29.xx*_2b.width);s.height=Math.floor(_29.yy*_2b.height);s.left=Math.floor(_29.dx);s.top=Math.floor(_29.dy);}else{var ps=_2a.parentNode.style;s.left="0px";s.top="0px";s.width=ps.width;s.height=ps.height;_29=m.multiply(_29,{xx:_2b.width/parseInt(s.width),yy:_2b.height/parseInt(s.height)});var f=_2a.filters["DXImageTransform.Microsoft.Matrix"];if(f){f.M11=_29.xx;f.M12=_29.xy;f.M21=_29.yx;f.M22=_29.yy;f.Dx=_29.dx;f.Dy=_29.dy;}else{s.filter="progid:DXImageTransform.Microsoft.Matrix(M11="+_29.xx+", M12="+_29.xy+", M21="+_29.yx+", M22="+_29.yy+", Dx="+_29.dx+", Dy="+_29.dy+")";}}return this;},_setDimensions:function(_2c,_2d){var r=this.rawNode,f=r.filters["DXImageTransform.Microsoft.Matrix"];if(f){var s=r.style;s.width=_2c;s.height=_2d;return
  this._applyTransform();}return this;}});g.Image.nodeType="rect";dojo.declare("dojox.gfx.Text",gs.Text,{constructor:function(_2e){if(_2e){_2e.setAttribute("dojoGfxType","text");}this.fontStyle=null;},_alignment:{start:"left",middle:"center",end:"right"},setShape:function(_2f){this.shape=g.makeParameters(this.shape,_2f);this.bbox=null;var r=this.rawNode,s=this.shape,x=s.x,y=s.y.toFixed(),_30;switch(s.align){case "middle":x-=5;break;case "end":x-=10;break;}_30="m"+x.toFixed()+","+y+"l"+(x+10).toFixed()+","+y+"e";var p=null,t=null,c=r.childNodes;for(var i=0;i<c.length;++i){var tag=c[i].tagName;if(tag=="path"){p=c[i];if(t){break;}}else{if(tag=="textpath"){t=c[i];if(p){break;}}}}if(!p){p=r.ownerDocument.createElement("v:path");r.appendChild(p);}if(!t){t=r.ownerDocument.createElement("v:textpath");r.appendChild(t);}p.v=_30;p.textPathOk=true;t.on=true;var a=_1.text_alignment[s.align];t.style["v-text-align"]=a?a:"left";t.style["text-decoration"]=s.decoration;t.style["v-rotate-letter
 s"]=s.rotated;t.style["v-text-kern"]=s.kerning;t.string=s.text;return this.setTransform(this.matrix);},_setFont:function(){var f=this.fontStyle,c=this.rawNode.childNodes;for(var i=0;i<c.length;++i){if(c[i].tagName=="textpath"){c[i].style.font=g.makeFontString(f);break;}}this.setTransform(this.matrix);},_getRealMatrix:function(){var _31=g.Shape.prototype._getRealMatrix.call(this);if(_31){_31=m.multiply(_31,{dy:-g.normalizedLength(this.fontStyle?this.fontStyle.size:"10pt")*0.35});}return _31;},getTextWidth:function(){var _32=this.rawNode,_33=_32.style.display;_32.style.display="inline";var _34=g.pt2px(parseFloat(_32.currentStyle.width));_32.style.display=_33;return _34;}});g.Text.nodeType="shape";dojo.declare("dojox.gfx.Path",g.path.Path,{constructor:function(_35){if(_35&&!_35.getAttribute("dojoGfxType")){_35.setAttribute("dojoGfxType","path");}this.vmlPath="";this.lastControl={};},_updateWithSegment:function(_36){var _37=d.clone(this.last);g.Path.superclass._updateWithSegment
 .apply(this,arguments);if(arguments.length>1){return;}var _38=this[this.renderers[_36.action]](_36,_37);if(typeof this.vmlPath=="string"){this.vmlPath+=_38.join("");this.rawNode.path.v=this.vmlPath+" r0,0 e";}else{Array.prototype.push.apply(this.vmlPath,_38);}},setShape:function(_39){this.vmlPath=[];this.lastControl.type="";g.Path.superclass.setShape.apply(this,arguments);this.vmlPath=this.vmlPath.join("");this.rawNode.path.v=this.vmlPath+" r0,0 e";return this;},_pathVmlToSvgMap:{m:"M",l:"L",t:"m",r:"l",c:"C",v:"c",qb:"Q",x:"z",e:""},renderers:{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"},_addArgs:function(_3a,_3b,_3c,_3d){var n=_3b instanceof Array?_3b:_3b.args;for(var i=_3c;i<_3d;++i){_3a.push(" ",n[i].toFixed());}},_adju
 stRelCrd:function(_3e,_3f,_40){var n=_3f instanceof Array?_3f:_3f.args,l=n.length,_41=new Array(l),i=0,x=_3e.x,y=_3e.y;if(typeof x!="number"){_41[0]=x=n[0];_41[1]=y=n[1];i=2;}if(typeof _40=="number"&&_40!=2){var j=_40;while(j<=l){for(;i<j;i+=2){_41[i]=x+n[i];_41[i+1]=y+n[i+1];}x=_41[j-2];y=_41[j-1];j+=_40;}}else{for(;i<l;i+=2){_41[i]=(x+=n[i]);_41[i+1]=(y+=n[i+1]);}}return _41;},_adjustRelPos:function(_42,_43){var n=_43 instanceof Array?_43:_43.args,l=n.length,_44=new Array(l);for(var i=0;i<l;++i){_44[i]=(_42+=n[i]);}return _44;},_moveToA:function(_45){var p=[" m"],n=_45 instanceof Array?_45:_45.args,l=n.length;this._addArgs(p,n,0,2);if(l>2){p.push(" l");this._addArgs(p,n,2,l);}this.lastControl.type="";return p;},_moveToR:function(_46,_47){return this._moveToA(this._adjustRelCrd(_47,_46));},_lineToA:function(_48){var p=[" l"],n=_48 instanceof Array?_48:_48.args;this._addArgs(p,n,0,n.length);this.lastControl.type="";return p;},_lineToR:function(_49,_4a){return this._lineToA(t
 his._adjustRelCrd(_4a,_49));},_hLineToA:function(_4b,_4c){var p=[" l"],y=" "+_4c.y.toFixed(),n=_4b instanceof Array?_4b:_4b.args,l=n.length;for(var i=0;i<l;++i){p.push(" ",n[i].toFixed(),y);}this.lastControl.type="";return p;},_hLineToR:function(_4d,_4e){return this._hLineToA(this._adjustRelPos(_4e.x,_4d),_4e);},_vLineToA:function(_4f,_50){var p=[" l"],x=" "+_50.x.toFixed(),n=_4f instanceof Array?_4f:_4f.args,l=n.length;for(var i=0;i<l;++i){p.push(x," ",n[i].toFixed());}this.lastControl.type="";return p;},_vLineToR:function(_51,_52){return this._vLineToA(this._adjustRelPos(_52.y,_51),_52);},_curveToA:function(_53){var p=[],n=_53 instanceof Array?_53:_53.args,l=n.length,lc=this.lastControl;for(var i=0;i<l;i+=6){p.push(" c");this._addArgs(p,n,i,i+6);}lc.x=n[l-4];lc.y=n[l-3];lc.type="C";return p;},_curveToR:function(_54,_55){return this._curveToA(this._adjustRelCrd(_55,_54,6));},_smoothCurveToA:function(_56,_57){var p=[],n=_56 instanceof Array?_56:_56.args,l=n.length,lc=this.la
 stControl,i=0;if(lc.type!="C"){p.push(" c");this._addArgs(p,[_57.x,_57.y],0,2);this._addArgs(p,n,0,4);lc.x=n[0];lc.y=n[1];lc.type="C";i=4;}for(;i<l;i+=4){p.push(" c");this._addArgs(p,[2*_57.x-lc.x,2*_57.y-lc.y],0,2);this._addArgs(p,n,i,i+4);lc.x=n[i];lc.y=n[i+1];}return p;},_smoothCurveToR:function(_58,_59){return this._smoothCurveToA(this._adjustRelCrd(_59,_58,4),_59);},_qCurveToA:function(_5a){var p=[],n=_5a instanceof Array?_5a:_5a.args,l=n.length,lc=this.lastControl;for(var i=0;i<l;i+=4){p.push(" qb");this._addArgs(p,n,i,i+4);}lc.x=n[l-4];lc.y=n[l-3];lc.type="Q";return p;},_qCurveToR:function(_5b,_5c){return this._qCurveToA(this._adjustRelCrd(_5c,_5b,4));},_qSmoothCurveToA:function(_5d,_5e){var p=[],n=_5d instanceof Array?_5d:_5d.args,l=n.length,lc=this.lastControl,i=0;if(lc.type!="Q"){p.push(" qb");this._addArgs(p,[lc.x=_5e.x,lc.y=_5e.y],0,2);lc.type="Q";this._addArgs(p,n,0,2);i=2;}for(;i<l;i+=2){p.push(" qb");this._addArgs(p,[lc.x=2*_5e.x-lc.x,lc.y=2*_5e.y-lc.y],0,2);t
 his._addArgs(p,n,i,i+2);}return p;},_qSmoothCurveToR:function(_5f,_60){return this._qSmoothCurveToA(this._adjustRelCrd(_60,_5f,2),_60);},_arcTo:function(_61,_62){var p=[],n=_61.args,l=n.length,_63=_61.action=="a";for(var i=0;i<l;i+=7){var x1=n[i+5],y1=n[i+6];if(_63){x1+=_62.x;y1+=_62.y;}var _64=g.arc.arcAsBezier(_62,n[i],n[i+1],n[i+2],n[i+3]?1:0,n[i+4]?1:0,x1,y1);for(var j=0;j<_64.length;++j){p.push(" c");var t=_64[j];this._addArgs(p,t,0,t.length);this._updateBBox(t[0],t[1]);this._updateBBox(t[2],t[3]);this._updateBBox(t[4],t[5]);}_62.x=x1;_62.y=y1;}this.lastControl.type="";return p;},_closePath:function(){this.lastControl.type="";return ["x"];}});g.Path.nodeType="shape";dojo.declare("dojox.gfx.TextPath",g.Path,{constructor:function(_65){if(_65){_65.setAttribute("dojoGfxType","textpath");}this.fontStyle=null;if(!("text" in this)){this.text=d.clone(g.defaultTextPath);}if(!("fontStyle" in this)){this.fontStyle=d.clone(g.defaultFont);}},setText:function(_66){this.text=g.makePar
 ameters(this.text,typeof _66=="string"?{text:_66}:_66);this._setText();return this;},setFont:function(_67){this.fontStyle=typeof _67=="string"?g.splitFontString(_67):g.makeParameters(g.defaultFont,_67);this._setFont();return this;},_setText:function(){this.bbox=null;var r=this.rawNode,s=this.text,p=null,t=null,c=r.childNodes;for(var i=0;i<c.length;++i){var tag=c[i].tagName;if(tag=="path"){p=c[i];if(t){break;}}else{if(tag=="textpath"){t=c[i];if(p){break;}}}}if(!p){p=this.rawNode.ownerDocument.createElement("v:path");r.appendChild(p);}if(!t){t=this.rawNode.ownerDocument.createElement("v:textpath");r.appendChild(t);}p.textPathOk=true;t.on=true;var a=_1.text_alignment[s.align];t.style["v-text-align"]=a?a:"left";t.style["text-decoration"]=s.decoration;t.style["v-rotate-letters"]=s.rotated;t.style["v-text-kern"]=s.kerning;t.string=s.text;},_setFont:function(){var f=this.fontStyle,c=this.rawNode.childNodes;for(var i=0;i<c.length;++i){if(c[i].tagName=="textpath"){c[i].style.font=g.m
 akeFontString(f);break;}}}});g.TextPath.nodeType="shape";dojo.declare("dojox.gfx.Surface",gs.Surface,{constructor:function(){_1.Container._init.call(this);},setDimensions:function(_68,_69){this.width=g.normalizedLength(_68);this.height=g.normalizedLength(_69);if(!this.rawNode){return this;}var cs=this.clipNode.style,r=this.rawNode,rs=r.style,bs=this.bgNode.style,ps=this._parent.style,i;ps.width=_68;ps.height=_69;cs.width=_68;cs.height=_69;cs.clip="rect(0px "+_68+"px "+_69+"px 0px)";rs.width=_68;rs.height=_69;r.coordsize=_68+" "+_69;bs.width=_68;bs.height=_69;for(i=0;i<this.children.length;++i){this.children[i]._setDimensions(_68,_69);}return this;},getDimensions:function(){var t=this.rawNode?{width:g.normalizedLength(this.rawNode.style.width),height:g.normalizedLength(this.rawNode.style.height)}:null;if(t.width<=0){t.width=this.width;}if(t.height<=0){t.height=this.height;}return t;}});g.createSurface=function(_6a,_6b,_6c){if(!_6b&&!_6c){var pos=d.position(_6a);_6b=_6b||pos.w
 ;_6c=_6c||pos.h;}if(typeof _6b=="number"){_6b=_6b+"px";}if(typeof _6c=="number"){_6c=_6c+"px";}var s=new g.Surface(),p=d.byId(_6a),c=s.clipNode=p.ownerDocument.createElement("div"),r=s.rawNode=p.ownerDocument.createElement("v:group"),cs=c.style,rs=r.style;if(d.isIE>7){rs.display="inline-block";}s._parent=p;s._nodes.push(c);p.style.width=_6b;p.style.height=_6c;cs.position="absolute";cs.width=_6b;cs.height=_6c;cs.clip="rect(0px "+_6b+" "+_6c+" 0px)";rs.position="absolute";rs.width=_6b;rs.height=_6c;r.coordsize=(_6b==="100%"?_6b:parseFloat(_6b))+" "+(_6c==="100%"?_6c:parseFloat(_6c));r.coordorigin="0 0";var b=s.bgNode=r.ownerDocument.createElement("v:rect"),bs=b.style;bs.left=bs.top=0;bs.width=rs.width;bs.height=rs.height;b.filled=b.stroked="f";r.appendChild(b);c.appendChild(r);p.appendChild(c);s.width=g.normalizedLength(_6b);s.height=g.normalizedLength(_6c);return s;};_1.Container={_init:function(){gs.Container._init.call(this);},add:function(_6d){if(this!=_6d.getParent()){thi
 s.rawNode.appendChild(_6d.rawNode);if(!_6d.getParent()){_6d.setFill(_6d.getFill());_6d.setStroke(_6d.getStroke());}gs.Container.add.apply(this,arguments);}return this;},remove:function(_6e,_6f){if(this==_6e.getParent()){if(this.rawNode==_6e.rawNode.parentNode){this.rawNode.removeChild(_6e.rawNode);}gs.Container.remove.apply(this,arguments);}return this;},clear:function(){var r=this.rawNode;while(r.firstChild!=r.lastChild){if(r.firstChild!=this.bgNode){r.removeChild(r.firstChild);}if(r.lastChild!=this.bgNode){r.removeChild(r.lastChild);}}return gs.Container.clear.apply(this,arguments);},_moveChildToFront:gs.Container._moveChildToFront,_moveChildToBack:gs.Container._moveChildToBack};dojo.mixin(gs.Creator,{createGroup:function(){var _70=this.createObject(g.Group,null);var r=_70.rawNode.ownerDocument.createElement("v:rect");r.style.left=r.style.top=0;r.style.width=_70.rawNode.style.width;r.style.height=_70.rawNode.style.height;r.filled=r.stroked="f";_70.rawNode.appendChild(r);_7
 0.bgNode=r;return _70;},createImage:function(_71){if(!this.rawNode){return null;}var _72=new g.Image(),doc=this.rawNode.ownerDocument,_73=doc.createElement("v:rect");_73.stroked="f";_73.style.width=this.rawNode.style.width;_73.style.height=this.rawNode.style.height;var img=doc.createElement("v:imagedata");_73.appendChild(img);_72.setRawNode(_73);this.rawNode.appendChild(_73);_72.setShape(_71);this.add(_72);return _72;},createRect:function(_74){if(!this.rawNode){return null;}var _75=new g.Rect,_76=this.rawNode.ownerDocument.createElement("v:roundrect");if(d.isIE>7){_76.style.display="inline-block";}_75.setRawNode(_76);this.rawNode.appendChild(_76);_75.setShape(_74);this.add(_75);return _75;},createObject:function(_77,_78){if(!this.rawNode){return null;}var _79=new _77(),_7a=this.rawNode.ownerDocument.createElement("v:"+_77.nodeType);_79.setRawNode(_7a);this.rawNode.appendChild(_7a);switch(_77){case g.Group:case g.Line:case g.Polyline:case g.Image:case g.Text:case g.Path:case 
 g.TextPath:this._overrideSize(_7a);}_79.setShape(_78);this.add(_79);return _79;},_overrideSize:function(_7b){var s=this.rawNode.style,w=s.width,h=s.height;_7b.style.width=w;_7b.style.height=h;_7b.coordsize=parseInt(w)+" "+parseInt(h);}});d.extend(g.Group,_1.Container);d.extend(g.Group,gs.Creator);d.extend(g.Surface,_1.Container);d.extend(g.Surface,gs.Creator);})();}
\ No newline at end of file

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

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

Added: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml_attach.js
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml_attach.js?rev=1341759&view=auto
==============================================================================
--- geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml_attach.js (added)
+++ geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml_attach.js Wed May 23 06:29:55 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.vml");dojo.experimental("dojox.gfx.vml_attach");(function(){dojox.gfx.attachNode=function(_1){if(!_1){return null;}var s=null;switch(_1.tagName.toLowerCase()){case dojox.gfx.Rect.nodeType:s=new dojox.gfx.Rect(_1);_2(s);break;case dojox.gfx.Ellipse.nodeType:if(_1.style.width==_1.style.height){s=new dojox.gfx.Circle(_1);_3(s);}else{s=new dojox.gfx.Ellipse(_1);_4(s);}break;case dojox.gfx.Path.nodeType:switch(_1.getAttribute("dojoGfxType")){case "line":s=new dojox.gfx.Line(_1);_5(s);break;case "polyline":s=new dojox.gfx.Polyline(_1);_6(s);break;case "path":s=new dojox.gfx.Path(_1);_7(s);break;case "text":s=new dojox.gfx.Text(_1);_8(s);_9(s);_a(s);break;case "textpath":s=new dojox.gfx.TextPath(_1);_7(s);_8(s);_9(s);break;}break;case dojox.gfx.Image.nodeType:switch(_1.getAttribute("dojoGfxType")){case "image":s=new dojox.gfx.Image(_1);_b(s);_c(s);break;}break;default:return null;}if(!(s instanceof dojox.gfx.Image)){_d(s);_e(s);if(!(s instanceof dojox.gfx.Te
 xt)){_f(s);}}return s;};dojox.gfx.attachSurface=function(_10){var s=new dojox.gfx.Surface();s.clipNode=_10;var r=s.rawNode=_10.firstChild;var b=r.firstChild;if(!b||b.tagName!="rect"){return null;}s.bgNode=r;return s;};var _d=function(_11){var _12=null,r=_11.rawNode,fo=r.fill;if(fo.on&&fo.type=="gradient"){var _12=dojo.clone(dojox.gfx.defaultLinearGradient),rad=dojox.gfx.matrix._degToRad(fo.angle);_12.x2=Math.cos(rad);_12.y2=Math.sin(rad);_12.colors=[];var _13=fo.colors.value.split(";");for(var i=0;i<_13.length;++i){var t=_13[i].match(/\S+/g);if(!t||t.length!=2){continue;}_12.colors.push({offset:dojox.gfx.vml._parseFloat(t[0]),color:new dojo.Color(t[1])});}}else{if(fo.on&&fo.type=="gradientradial"){var _12=dojo.clone(dojox.gfx.defaultRadialGradient),w=parseFloat(r.style.width),h=parseFloat(r.style.height);_12.cx=isNaN(w)?0:fo.focusposition.x*w;_12.cy=isNaN(h)?0:fo.focusposition.y*h;_12.r=isNaN(w)?1:w/2;_12.colors=[];var _13=fo.colors.value.split(";");for(var i=_13.length-1;i>
 =0;--i){var t=_13[i].match(/\S+/g);if(!t||t.length!=2){continue;}_12.colors.push({offset:dojox.gfx.vml._parseFloat(t[0]),color:new dojo.Color(t[1])});}}else{if(fo.on&&fo.type=="tile"){var _12=dojo.clone(dojox.gfx.defaultPattern);_12.width=dojox.gfx.pt2px(fo.size.x);_12.height=dojox.gfx.pt2px(fo.size.y);_12.x=fo.origin.x*_12.width;_12.y=fo.origin.y*_12.height;_12.src=fo.src;}else{if(fo.on&&r.fillcolor){_12=new dojo.Color(r.fillcolor+"");_12.a=fo.opacity;}}}}_11.fillStyle=_12;};var _e=function(_14){var r=_14.rawNode;if(!r.stroked){_14.strokeStyle=null;return;}var _15=_14.strokeStyle=dojo.clone(dojox.gfx.defaultStroke),rs=r.stroke;_15.color=new dojo.Color(r.strokecolor.value);_15.width=dojox.gfx.normalizedLength(r.strokeweight+"");_15.color.a=rs.opacity;_15.cap=this._translate(this._capMapReversed,rs.endcap);_15.join=rs.joinstyle=="miter"?rs.miterlimit:rs.joinstyle;_15.style=rs.dashstyle;};var _f=function(_16){var s=_16.rawNode.skew,sm=s.matrix,so=s.offset;_16.matrix=dojox.gfx.
 matrix.normalize({xx:sm.xtox,xy:sm.ytox,yx:sm.xtoy,yy:sm.ytoy,dx:dojox.gfx.pt2px(so.x),dy:dojox.gfx.pt2px(so.y)});};var _17=function(_18){_18.bgNode=_18.rawNode.firstChild;};var _2=function(_19){var r=_19.rawNode,_1a=r.outerHTML.match(/arcsize = \"(\d*\.?\d+[%f]?)\"/)[1],_1b=r.style,_1c=parseFloat(_1b.width),_1d=parseFloat(_1b.height);_1a=(_1a.indexOf("%")>=0)?parseFloat(_1a)/100:dojox.gfx.vml._parseFloat(_1a);_19.shape=dojox.gfx.makeParameters(dojox.gfx.defaultRect,{x:parseInt(_1b.left),y:parseInt(_1b.top),width:_1c,height:_1d,r:Math.min(_1c,_1d)*_1a});};var _4=function(_1e){var _1f=_1e.rawNode.style,rx=parseInt(_1f.width)/2,ry=parseInt(_1f.height)/2;_1e.shape=dojox.gfx.makeParameters(dojox.gfx.defaultEllipse,{cx:parseInt(_1f.left)+rx,cy:parseInt(_1f.top)+ry,rx:rx,ry:ry});};var _3=function(_20){var _21=_20.rawNode.style,r=parseInt(_21.width)/2;_20.shape=dojox.gfx.makeParameters(dojox.gfx.defaultCircle,{cx:parseInt(_21.left)+r,cy:parseInt(_21.top)+r,r:r});};var _5=function(_
 22){var _23=_22.shape=dojo.clone(dojox.gfx.defaultLine),p=_22.rawNode.path.v.match(dojox.gfx.pathVmlRegExp);do{if(p.length<7||p[0]!="m"||p[3]!="l"||p[6]!="e"){break;}_23.x1=parseInt(p[1]);_23.y1=parseInt(p[2]);_23.x2=parseInt(p[4]);_23.y2=parseInt(p[5]);}while(false);};var _6=function(_24){var _25=_24.shape=dojo.clone(dojox.gfx.defaultPolyline),p=_24.rawNode.path.v.match(dojox.gfx.pathVmlRegExp);do{if(p.length<3||p[0]!="m"){break;}var x=parseInt(p[0]),y=parseInt(p[1]);if(isNaN(x)||isNaN(y)){break;}_25.points.push({x:x,y:y});if(p.length<6||p[3]!="l"){break;}for(var i=4;i<p.length;i+=2){x=parseInt(p[i]);y=parseInt(p[i+1]);if(isNaN(x)||isNaN(y)){break;}_25.points.push({x:x,y:y});}}while(false);};var _b=function(_26){_26.shape=dojo.clone(dojox.gfx.defaultImage);_26.shape.src=_26.rawNode.firstChild.src;};var _c=function(_27){var m=_27.rawNode.filters["DXImageTransform.Microsoft.Matrix"];_27.matrix=dojox.gfx.matrix.normalize({xx:m.M11,xy:m.M12,yx:m.M21,yy:m.M22,dx:m.Dx,dy:m.Dy});}
 ;var _8=function(_28){var _29=_28.shape=dojo.clone(dojox.gfx.defaultText),r=_28.rawNode,p=r.path.v.match(dojox.gfx.pathVmlRegExp);do{if(!p||p.length!=7){break;}var c=r.childNodes,i=0;for(;i<c.length&&c[i].tagName!="textpath";++i){}if(i>=c.length){break;}var s=c[i].style;_29.text=c[i].string;switch(s["v-text-align"]){case "left":_29.x=parseInt(p[1]);_29.align="start";break;case "center":_29.x=(parseInt(p[1])+parseInt(p[4]))/2;_29.align="middle";break;case "right":_29.x=parseInt(p[4]);_29.align="end";break;}_29.y=parseInt(p[2]);_29.decoration=s["text-decoration"];_29.rotated=s["v-rotate-letters"].toLowerCase() in dojox.gfx.vml._bool;_29.kerning=s["v-text-kern"].toLowerCase() in dojox.gfx.vml._bool;return;}while(false);_28.shape=null;};var _9=function(_2a){var _2b=_2a.fontStyle=dojo.clone(dojox.gfx.defaultFont),c=_2a.rawNode.childNodes,i=0;for(;i<c.length&&c[i].tagName=="textpath";++i){}if(i>=c.length){_2a.fontStyle=null;return;}var s=c[i].style;_2b.style=s.fontstyle;_2b.varian
 t=s.fontvariant;_2b.weight=s.fontweight;_2b.size=s.fontsize;_2b.family=s.fontfamily;};var _a=function(_2c){_f(_2c);var _2d=_2c.matrix,fs=_2c.fontStyle;if(_2d&&fs){_2c.matrix=dojox.gfx.matrix.multiply(_2d,{dy:dojox.gfx.normalizedLength(fs.size)*0.35});}};var _7=function(_2e){var _2f=_2e.shape=dojo.clone(dojox.gfx.defaultPath),p=_2e.rawNode.path.v.match(dojox.gfx.pathVmlRegExp),t=[],_30=false,map=dojox.gfx.Path._pathVmlToSvgMap;for(var i=0;i<p.length;++p){var s=p[i];if(s in map){_30=false;t.push(map[s]);}else{if(!_30){var n=parseInt(s);if(isNaN(n)){_30=true;}else{t.push(n);}}}}var l=t.length;if(l>=4&&t[l-1]==""&&t[l-2]==0&&t[l-3]==0&&t[l-4]=="l"){t.splice(l-4,4);}if(l){_2f.path=t.join(" ");}};})();
\ No newline at end of file

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml_attach.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/plugins/console/console-portal-driver/src/main/webapp/dojo/dojox/gfx/vml_attach.js
------------------------------------------------------------------------------
    svn:keywords = Date Revision

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