svnno****@sourc*****
svnno****@sourc*****
2009年 9月 28日 (月) 23:35:00 JST
Revision: 1298 http://sourceforge.jp/projects/sie/svn/view?view=rev&revision=1298 Author: dhrname Date: 2009-09-28 23:35:00 +0900 (Mon, 28 Sep 2009) Log Message: ----------- 1, SVGDocumentオブジェクトのメンバ名に_をつけた 2, SVGGElementオブジェクトの内部実装に取りかかる Modified Paths: -------------- branches/DOM/org/w3c/dom/svg.js Modified: branches/DOM/org/w3c/dom/svg.js =================================================================== --- branches/DOM/org/w3c/dom/svg.js 2009-09-28 14:27:48 UTC (rev 1297) +++ branches/DOM/org/w3c/dom/svg.js 2009-09-28 14:35:00 UTC (rev 1298) @@ -2008,7 +2008,7 @@ backr.stroked = "false"; backr.filled = "false"; this.tar.appendChild(backr); - this.backr = backr; + this._backr = backr; } catch(n) {stlog.add(n,109);} }; /*void*/ SVGSVGElement.prototype.forceRedraw = function(/*element*/ ob) { @@ -2022,7 +2022,7 @@ trstyle.visibility = "visible"; //以下、画像を切り取り trstyle.overflow = "hidden"; - var backrs = this.backr.currentStyle; + var backrs = this._backr.currentStyle; var viewWidth = w > sw ? sw : w, viewHeight = h > sh ? sh : h; //ウィンドウ枠の長さを決定する var bfl = parseFloat(backrs.left), bft = parseFloat(backrs.top); var bl = -this.vi._tx, bt = -this.vi._ty; @@ -2065,17 +2065,11 @@ } catch(e) {stlog.add(e,170);} } -/*void*/ SVGSVGElement.prototype.pauseAnimations = function(){ - -} -/*void*/ SVGSVGElement.prototype.unpauseAnimations = function(){ - -} /*float*/ SVGSVGElement.prototype.getCurrentTime = function(){ - + return (this._currentTime); } /*void*/ SVGSVGElement.prototype.setCurrentTime = function(/*float*/ seconds ){ - + this._currentTime = seconds; } /*SVGNumber*/ createSVGNumber = function(){ var s = new SVGNumber(); @@ -2086,9 +2080,6 @@ var s = new SVGLength(0); return s; } -/*SVGAngle*/ createSVGAngle = function(){ - //SVGAngleは軽量化のため、作成していない -} /*SVGPoint*/ createSVGPoint = function(){ var s = new SVGPoint(); return s; @@ -2139,6 +2130,7 @@ function SVGGElement() { SVGElement.apply(this, arguments); + this.tar = document.createElement("v:group"); return this; }; SVGGElement.constructor = SVGElement;