SVG.BBox=function(element){/* actual, native bounding box */varbox=element.node.getBBox()/* include translations on x an y */this.x=box.x+element.trans.xthis.y=box.y+element.trans.y/* add the center */this.cx=this.x+box.width/2this.cy=this.x+box.height/2/* plain width and height */this.width=box.widththis.height=box.height}