[Sie-announce] SIEコード [1908]

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 6月 20日 (日) 23:38:30 JST


Revision: 1908
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1908
Author:   dhrname
Date:     2010-06-20 23:38:30 +0900 (Sun, 20 Jun 2010)

Log Message:
-----------


Modified Paths:
--------------
    branches/06x/061/org/w3c/dom/svg.js

Modified: branches/06x/061/org/w3c/dom/svg.js
===================================================================
--- branches/06x/061/org/w3c/dom/svg.js	2010-06-20 14:30:09 UTC (rev 1907)
+++ branches/06x/061/org/w3c/dom/svg.js	2010-06-20 14:38:30 UTC (rev 1908)
@@ -2225,8 +2225,8 @@
             }
           } else if (dii === "T" || dii === "t") {
             if (j !== 0) {
-              var tg = tnl.getItem(tnl.numberOfItems-1);
-              if (tg.pathSegTypeAsLetter === "C") {
+              var tg = tlist.getItem(j-1);
+              if (tg.pathSegTypeAsLetter === "Q" || tg.pathSegTypeAsLetter === "q") {
                 var x1 = 2*tg.x - tg.x1;
                 var y1 = 2*tg.y - tg.y1;
                 tnl.appendItem(tar.createSVGPathSegCurvetoCubicAbs(cx, cy, (rx + 2*x1) / 3, (ry + 2*y1) / 3, (2*x1 + cx) / 3, (2*y1 + cy) / 3));




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