[Sie-announce] SIEコード [1483] STPathの最適化

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 12月 20日 (日) 22:07:21 JST


Revision: 1483
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1483
Author:   dhrname
Date:     2009-12-20 22:07:21 +0900 (Sun, 20 Dec 2009)

Log Message:
-----------
STPathの最適化

Modified Paths:
--------------
    branches/05x/056/sie.js

Modified: branches/05x/056/sie.js
===================================================================
--- branches/05x/056/sie.js	2009-12-20 12:40:08 UTC (rev 1482)
+++ branches/05x/056/sie.js	2009-12-20 13:07:21 UTC (rev 1483)
@@ -580,9 +580,10 @@
 //path要素の処理
 function STPath( /*element*/ ele, /*Matrix*/ matrix) {
   this.tar = ele;
+  var _nt = NAIBU.transformToCTM;
   this.d = ele.getAttribute("d");
   this.paint = new NAIBU.PaintColor(ele);
-  this.transformable = NAIBU.transformToCTM(ele,matrix);
+  this.transformable = _nt(ele,matrix);
   return this;
 }
 STPath.prototype.set = function ( /*float*/ w, /*float*/ h) {




Sie-announce メーリングリストの案内
Back to archive index