svnno****@sourc*****
svnno****@sourc*****
2011年 1月 27日 (木) 23:15:48 JST
Revision: 2340 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2340 Author: dhrname Date: 2011-01-27 23:15:48 +0900 (Thu, 27 Jan 2011) Log Message: ----------- コメントの追加 Modified Paths: -------------- branches/06x/069/org/w3c/dom/svg.js Modified: branches/06x/069/org/w3c/dom/svg.js =================================================================== --- branches/06x/069/org/w3c/dom/svg.js 2011-01-27 10:59:49 UTC (rev 2339) +++ branches/06x/069/org/w3c/dom/svg.js 2011-01-27 14:15:48 UTC (rev 2340) @@ -5165,6 +5165,10 @@ } tar._frame = function() { var _tar = tar; + /*公式に関しては、SMIL2.0 Animation Moduleの単純アニメーション関数の項を参照 + * 3.4.2 Specifying the simple animation function f(t) + *http://www.w3.org/TR/2005/REC-SMIL2-20050107/animation.html#animationNS-SpecifyingAnimationFunction + */ var d = _tar.getSimpleDuration() * 0.8, n = _tar._valueList.length - 1, tg = _tar.getCurrentTime(); if ((n !== -1) && (d !== 0) && (tg <= d)) { var ii = Math.floor((tg*n) / d);