svnno****@sourc*****
svnno****@sourc*****
2011年 2月 10日 (木) 22:56:05 JST
Revision: 2381 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2381 Author: dhrname Date: 2011-02-10 22:56:05 +0900 (Thu, 10 Feb 2011) Log Message: ----------- SVGTransformの修正にあわせて、consolidateメソッドも修正 Modified Paths: -------------- branches/07x/070/org/w3c/dom/svg.js Modified: branches/07x/070/org/w3c/dom/svg.js =================================================================== --- branches/07x/070/org/w3c/dom/svg.js 2011-02-10 13:31:17 UTC (rev 2380) +++ branches/07x/070/org/w3c/dom/svg.js 2011-02-10 13:56:05 UTC (rev 2381) @@ -1965,10 +1965,11 @@ if(this.numberOfItems === 0) { return null; } else { - var s = this.getItem(0); + var s = this.getItem(0), m = s.matrix; for (var i=1,nli=this.numberOfItems;i<nli;++i) { - s.setMatrix(this.getItem(i).matrix) + m = m.multiply(this.getItem(i).matrix); } + s.setMatrix(m); this.initialize(s); return s; }