[Sie-announce] SIEコード [1780] SVGRadialGradientElementオブジェクトの実装

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 4月 5日 (月) 23:45:02 JST


Revision: 1780
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1780
Author:   dhrname
Date:     2010-04-05 23:45:02 +0900 (Mon, 05 Apr 2010)

Log Message:
-----------
SVGRadialGradientElementオブジェクトの実装

Modified Paths:
--------------
    branches/ufltima/dom/svg.js

Modified: branches/ufltima/dom/svg.js
===================================================================
--- branches/ufltima/dom/svg.js	2010-04-05 14:36:07 UTC (rev 1779)
+++ branches/ufltima/dom/svg.js	2010-04-05 14:45:02 UTC (rev 1780)
@@ -2629,7 +2629,7 @@
         var stop = stops[i];
         color[i] = stop.style.getPropertyValue("stop-color");
         colors[i] = stop.offset.baseVal + " " + color[i];
-        opacity[i] = (parseFloat(stop.style.getPropertyValue("stop-opacity")) || 1) * parseFloat(t.getPropertyValue("fill-opacity")) * parseFloat(t.getPropertyValue("opacity"));
+        opacity[i] = (stop.style.getPropertyValue("stop-opacity") || 1) * t.getPropertyValue("fill-opacity") * t.getPropertyValue("opacity");
       }
       ele.setAttribute("method", "none");
       ele.setAttribute("color",  color[0]);




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