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

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 1月 15日 (金) 21:47:23 JST


Revision: 1580
          http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1580
Author:   dhrname
Date:     2010-01-15 21:47:23 +0900 (Fri, 15 Jan 2010)

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


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

Modified: branches/05x/058/sie.js
===================================================================
--- branches/05x/058/sie.js	2010-01-15 12:37:39 UTC (rev 1579)
+++ branches/05x/058/sie.js	2010-01-15 12:47:23 UTC (rev 1580)
@@ -848,14 +848,12 @@
 //circle要素を処理
 function STCircle( /*element*/ ele, /*Matrix*/ matrix, /*float*/w, h) {
   this.tar = ele;
-  try {
-    this.cx = new STLength((ele.getAttribute("cx") || 0), w);
-    this.cy = new STLength((ele.getAttribute("cy") || 0), h);
-    this.r = new STLength(ele.getAttribute("r"));
-    this.paint = new NAIBU.PaintColor(ele);
-    this.transformable = NAIBU.transformToCTM(ele,matrix);
-    w = h = null;
-  } catch(e) {stlog.add(e,450);}
+  this.cx = new STLength((ele.getAttribute("cx") || 0), w);
+  this.cy = new STLength((ele.getAttribute("cy") || 0), h);
+  this.r = new STLength(ele.getAttribute("r"));
+  this.paint = new NAIBU.PaintColor(ele);
+  this.transformable = NAIBU.transformToCTM(ele,matrix);
+  w = h = null;
   return this;
 }
 //ベジェ曲線で円を表現する
@@ -1508,7 +1506,6 @@
 NAIBU.FontStyle.prototype.cache = {};
 //親コンテナ要素のPaintColorオブジェクトを返す
 NAIBU.FontStyle.prototype.getParent = function( /*element*/ ele) {
-  try{
   var parent = ele.parentNode;
   if (parent.tagName !== "group" && parent.tagName !== "A" && parent.tagName !== "DIV") {
     return null;
@@ -1518,7 +1515,6 @@
   if (!cache[id]) {
     cache[id] = new NAIBU.FontStyle(parent);
   }
-  } catch(e){stlog.add(e,1179);}
   return cache[id];
 };
 




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