//>>built define(["./_base","dojo/_base/lang","dojo/_base/declare","./matrix","./shape"],function(f,k,g,l,h){h=g("dojox.gfx.path.Path",h.Shape,{constructor:function(a){this.shape=k.clone(f.defaultPath);this.segments=[];this.tbbox=null;this.absolute=!0;this.last={};this.rawNode=a;this.segmented=!1},setAbsoluteMode:function(a){this._confirmSegmented();this.absolute="string"==typeof a?"absolute"==a:a;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 a=this.bbox,d=this._getRealMatrix();this.bbox=null;for(var c=0,e=this.segments.length;ca&&(this.bbox.l=a),this.bbox.rd&&(this.bbox.t=d),this.bbox.b=c&&(a={action:a,args:d.slice(0,d.length-d.length%c)},this.segments.push(a),this._updateWithSegment(a)):(a={action:a,args:[]},this.segments.push(a),this._updateWithSegment(a)))},_collectArgs:function(a,d){for(var c=0;c