svnno****@sourc*****
svnno****@sourc*****
2011年 4月 6日 (水) 23:22:40 JST
Revision: 2567 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=2567 Author: dhrname Date: 2011-04-06 23:22:40 +0900 (Wed, 06 Apr 2011) Log Message: ----------- getPointAtLengthメソッドの変数に対する整理 Modified Paths: -------------- branches/07x/075/org/w3c/dom/svg.js Modified: branches/07x/075/org/w3c/dom/svg.js =================================================================== --- branches/07x/075/org/w3c/dom/svg.js 2011-04-06 13:44:59 UTC (rev 2566) +++ branches/07x/075/org/w3c/dom/svg.js 2011-04-06 14:22:40 UTC (rev 2567) @@ -2974,8 +2974,12 @@ return s; }; /*SVGPoint*/ SVGPathElement.prototype.getPointAtLength = function(/*float*/ distance ) { - var segn = this.getPathSegAtLength(distance), x = 0, y = 0, nl = this.normalizedPathSegList, seg = nl.getItem(segn); - var s = this.ownerDocument.documentElement.createSVGPoint(); + var segn = this.getPathSegAtLength(distance), + x = 0, + y = 0, + nl = this.normalizedPathSegList, + seg = nl.getItem(segn), + s = this.ownerDocument.documentElement.createSVGPoint(); if ((segn-1) <= 0) { s.x = seg.x; s.y = seg.y;