svnno****@sourc*****
svnno****@sourc*****
2011年 6月 21日 (火) 22:28:02 JST
Revision: 2784 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2784 Author: dhrname Date: 2011-06-21 22:28:02 +0900 (Tue, 21 Jun 2011) Log Message: ----------- animateMotion要素のvalues属性を実装 Modified Paths: -------------- branches/08x/080/org/w3c/dom/svg.js Modified: branches/08x/080/org/w3c/dom/svg.js =================================================================== --- branches/08x/080/org/w3c/dom/svg.js 2011-06-21 12:43:17 UTC (rev 2783) +++ branches/08x/080/org/w3c/dom/svg.js 2011-06-21 13:28:02 UTC (rev 2784) @@ -5489,7 +5489,6 @@ var st = tpn.getTotalLength() * tg / d, //stは現在に至るまでの距離 p = tpn.getPointAtLength(st), trans = _tar.targetElement.transform; - p = p.matrixTransform(_tar.targetElement.getScreenCTM()); trans.animVal.getItem(trans.animVal.numberOfItems-1).setTranslate(p.x, p.y); var base = trans.baseVal; trans.baseVal = trans.animVal; @@ -5523,7 +5522,6 @@ st = (st / total) * d; p.x = tav[ii][0] + (tav[ii+1][0] - tav[ii][0]) * (tg - st) / d; p.y = tav[ii][1] + (tav[ii+1][1] - tav[ii][1]) * (tg - st) / d; - p = p.matrixTransform(_tar.targetElement.getScreenCTM()); trans.animVal.getItem(trans.animVal.numberOfItems-1).setTranslate(p.x, p.y); var base = trans.baseVal; trans.baseVal = trans.animVal;