a:8:{s:9:"#provides";s:20:"dojox.gfx.vml_attach";s:9:"#resource";s:17:"gfx/vml_attach.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:13:"dojox.gfx.vml";}}s:20:"dojox.gfx.attachNode";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:4:"Node";s:7:"summary";s:11:"an VML node";}}s:6:"source";s:1550:" if(!node) return null; var s = null; switch(node.tagName.toLowerCase()){ case dojox.gfx.Rect.nodeType: s = new dojox.gfx.Rect(node); attachRect(s); break; case dojox.gfx.Ellipse.nodeType: if(node.style.width == node.style.height){ s = new dojox.gfx.Circle(node); attachCircle(s); }else{ s = new dojox.gfx.Ellipse(node); attachEllipse(s); } break; case dojox.gfx.Path.nodeType: switch(node.getAttribute("dojoGfxType")){ case "line": s = new dojox.gfx.Line(node); attachLine(s); break; case "polyline": s = new dojox.gfx.Polyline(node); attachPolyline(s); break; case "path": s = new dojox.gfx.Path(node); attachPath(s); break; case "text": s = new dojox.gfx.Text(node); attachText(s); attachFont(s); attachTextTransform(s); break; case "textpath": s = new dojox.gfx.TextPath(node); attachPath(s); attachText(s); attachFont(s); break; } break; case dojox.gfx.Image.nodeType: switch(node.getAttribute("dojoGfxType")){ case "image": s = new dojox.gfx.Image(node); attachImage(s); attachImageTransform(s); break; } break; default: //console.debug("FATAL ERROR! tagName = " + node.tagName); return null; } if(!(s instanceof dojox.gfx.Image)){ attachFill(s); attachStroke(s); if(!(s instanceof dojox.gfx.Text)){ attachTransform(s); } } return s; // dojox.gfx.Shape";s:7:"summary";s:27:"creates a shape from a Node";s:7:"returns";s:15:"dojox.gfx.Shape";}s:23:"dojox.gfx.attachSurface";a:5:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"node";a:2:{s:4:"type";s:4:"Node";s:7:"summary";s:11:"an VML node";}}s:6:"source";s:241:" var s = new dojox.gfx.Surface(); s.clipNode = node; var r = s.rawNode = node.firstChild; var b = r.firstChild; if(!b || b.tagName != "rect"){ return null; // dojox.gfx.Surface } s.bgNode = r; return s; // dojox.gfx.Surface";s:7:"summary";s:29:"creates a surface from a Node";s:7:"returns";s:17:"dojox.gfx.Surface";}s:20:"dojox.gfx.vml_attach";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:9:"dojox.gfx";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}