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

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 3月 11日 (水) 23:24:33 JST


Revision: 1066
          http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1066
Author:   dhrname
Date:     2009-03-11 23:24:33 +0900 (Wed, 11 Mar 2009)

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


Modified Paths:
--------------
    branches/04x/044/sie.js

Modified: branches/04x/044/sie.js
===================================================================
--- branches/04x/044/sie.js	2009-03-11 14:18:38 UTC (rev 1065)
+++ branches/04x/044/sie.js	2009-03-11 14:24:33 UTC (rev 1066)
@@ -1264,6 +1264,7 @@
     if (!units || units === "objectBoundingBox") {
       //%の場合は小数点に変換(10% -> 0.1)
       cx = cx > 1 ? cx/100 : cx; cy = cy > 1 ? cy/100 : cy; r = r > 1 ? r/100 : r;
+      //要素の境界領域を求める(四隅の座標を求める)
       var degis = (this.tar.getAttribute("path")+"").match(/[0-9\-]+/g);
       for (var i=0,degisli=degis.length;i<degisli;i+=2) {
         var nx = parseInt(degis[i]), ny = parseInt(degis[i+1]);
@@ -1275,7 +1276,6 @@
       cx = cx*(er - el) + el; cy = cy*(eb - et) + et; rx = r*(er - el); ry = r*(eb - et)
     }
     el = cx - rx; et = cy - ry; er = cx + rx; eb = cy + ry;
-    alert(el+" "+et+" "+er+" "+eb);
     var outline = document.getElementById("_NAIBU_outline");
     var background = document.createElement("div"), gradient = document.createElement("div");
     background.style.position = "absolute"; gradient.style.position = "absolute";




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