*ドキュメントタイプを作るためのもの。DTDは<!DOCTYPE[ ]>で表現されうる。\r
*/\r
/*DocumentType*/ createDocumentType : function(/*string*/ qualifiedName, publicId, systemId) {\r
- var s = base("$document").up("$1");\r
+ var s = base("$document").up();\r
s.name = "";\r
s.entities = new NamedNodeMap(); //パラメタ実体を除く実体の集まり\r
s.notations = new NamedNodeMap(); //DTDで示した記法の集まり\r
*/\r
/*Document*/ createDocument : function( /*string*/ ns, qname, /*DocumentType*/ doctype) {\r
try {\r
- var s = base("$document").up("$1");\r
+ var s = base("$document").up();\r
this._doc_ && (s._document_ = this._doc_); //_document_プロパティはcreateElementNSメソッドやradialGradient要素やNAIBU._setPaintなどで使う\r
s.implementation = this;\r
s.doctype = doctype || null;\r
*テキストのノードを作る\r
*/\r
/*Text*/ createTextNode : function( /*string*/ data) {\r
- var s = this.$text.up("$1");\r
+ var s = this.$text.up();\r
s.data = s.nodeValue = data+"";\r
s.length = data.length;\r
s.ownerDocument = this;\r
*コメントノードを作る\r
*/\r
/*Comment*/ createComment : function( /*string*/ data) {\r
- var s = this.$text.$comment.up("$1");\r
+ var s = this.$text.$comment.up();\r
s.data = s.nodeValue = data;\r
s.length = data.length;\r
s.ownerDocument = this;\r
*CDATA領域ノードを作る\r
*/\r
/*CDATASection*/ createCDATASection : function( /*string*/ data) {\r
- var s = this.$text.up("$1");\r
+ var s = this.$text.up();\r
s.nodeType = /*Node.CDATA_SECTION_NODE*/ 4;\r
s.nodeName = "#cdata-section";\r
s.data = s.nodeValue = data;\r
*処理命令ノードを作る\r
*/\r
/*ProcessingInstruction*/ createProcessingInstruction : function( /*string*/ target, /*string*/ data) {\r
- var s = this.up("$1");\r
+ var s = this.up();\r
s.nodeType = /*Node.PROCESSING_INSTRUCTION_NODE*/ 7;\r
s.target = s.nodeName = target;\r
s.data = s.nodeValue = data;\r
*実体参照ノードを作る\r
*/\r
/*EntityReference*/ createEntityReference : function( /*string*/ name) {\r
- return this.up("$1").mix({\r
+ return this.up().mix({\r
nodeValue: null,\r
nodeType: /*Node.ENTITY_REFERENCE_NODE*/ 5,\r
nodeName: name,\r
}\r
}\r
} else if (imn === /*Node.ENTITY_NODE*/ 6) {\r
- s = this.$enetity.up("$1");\r
+ s = this.$enetity.up();\r
s.publicId = importedNode.publicId;\r
s.systemId = importedNode.systemId;\r
s.notationName = importedNode.notationName;\r
} else if (imn === /*Node.PROCESSING_INSTRUCTION_NODE*/ 7) {\r
s = this.createProcessingInstruction(importedNode.nodeName, importedNode.nodeValue);\r
} else if (imn === /*Node.NOTATION_NODE*/ 12) {\r
- s = this.up("$notation").up("$1");\r
+ s = this.up("$notation").up();\r
s.publicId = importedNode.publicId;\r
s.systemId = importedNode.systemId;\r
} else {\r
} else {\r
localName = qualifiedName;\r
}\r
- ele = this.$element.up("$1").mix({\r
+ ele = this.$element.up().mix({\r
childNodes: [],\r
- attributes: this.$element.attributes.up("$1"), //属性を収納\r
+ attributes: this.$element.attributes.up(), //属性を収納\r
ownerDocument: this\r
});\r
ele.namespaceURI = namespaceURI;\r
*属性ノードを作る。setAttributeNSで使うため、削除不可\r
*/\r
/*Attr*/ createAttributeNS : function( /*string*/ namespaceURI, /*string*/ qualifiedName) {\r
- var attr = this.$attr.up("$1"),\r
+ var attr = this.$attr.up(),\r
p;\r
attr.namespaceURI = namespaceURI;\r
attr.nodeName = attr.name = qualifiedName;\r
\r
/*interface SVGLocatable*/\r
/*SVGRect*/ getBBox: function(){\r
- var s = base("$SVGRect").up("$1"),\r
+ var s = base("$SVGRect").up(),\r
data = this._tar.path.value,\r
vi = this.ownerDocument.documentElement.viewport,\r
el = vi.width,\r
/*SVGUnmberListのメソッドはSVGStringListを参照*/\r
\r
function SVGAnimatedNumberList() {\r
- /*readonly SVGNumberList*/ this.animVal = this.baseVal = base("$SVGStringList").$SVGNumberList.up("$1");\r
+ /*readonly SVGNumberList*/ this.animVal = this.baseVal = base("$SVGStringList").$SVGNumberList.up();\r
};\r
/*$SVGLengthオブジェクト\r
*長さを設定する(単位pxに統一する方便として使う)\r
} );\r
function SVGAnimatedLength() {\r
/*readonly SVGLength*/ this.animVal;\r
- this.baseVal = base("$SVGLength").up("$1");\r
+ this.baseVal = base("$SVGLength").up();\r
this.baseVal.unitType = 1;\r
};\r
\r
/*SVGLengthListのメソッドはSVGStringListを参照*/\r
\r
function SVGAnimatedLengthList() {\r
- /*readonly SVGLengthList*/ this.animVal = this.baseVal = base("$SVGStringList").$SVGLengthList.up("$1");;\r
+ /*readonly SVGLengthList*/ this.animVal = this.baseVal = base("$SVGStringList").$SVGLengthList.up();;\r
};\r
\r
base("$SVGAngle").mix( {\r
/*const unsigned short SVGAngle.SVG_ANGLETYPE_RAD = 3;\r
/*const unsigned short SVGAngle.SVG_ANGLETYPE_GRAD = 4;*/\r
function SVGAnimatedAngle() {\r
- /*readonly attribute SVGAngle*/ this.baseVal = base("$SVGAngle").up("$1");\r
- /*readonly attribute SVGAngle*/ this.animVal = base("$SVGAngle").up("$1");\r
+ /*readonly attribute SVGAngle*/ this.baseVal = base("$SVGAngle").up();\r
+ /*readonly attribute SVGAngle*/ this.animVal = base("$SVGAngle").up();\r
};\r
\r
base("$CSSValue").up("$SVGColor").mix( {\r
_new$: function() {\r
- /*readonly css::RGBColor*/ this.up("$1").rgbColor = new RGBColor();\r
+ /*readonly css::RGBColor*/ this.up().rgbColor = new RGBColor();\r
return this.$1;\r
},\r
// Color Types\r
} );\r
\r
function SVGAnimatedRect() {\r
- /*readonly SVGRect*/ this.baseVal = base("$SVGRect").up("$1");\r
-/*readonly SVGRect*/ this.animVal = base("$SVGRect").up("$1");\r
+ /*readonly SVGRect*/ this.baseVal = base("$SVGRect").up();\r
+/*readonly SVGRect*/ this.animVal = base("$SVGRect").up();\r
};\r
\r
/*SVGUnitTypes = {\r
/*unsigned short SVG_UNIT_TYPE_OBJECTBOUNDINGBOX : 2\r
};*/\r
function SVGStylable() {\r
- /*readonly attribute SVGAnimatedString*/ this.className = base("$SVGAnimatedString").up("$1");\r
+ /*readonly attribute SVGAnimatedString*/ this.className = base("$SVGAnimatedString").up();\r
ElementCSSInlineStyle.call(this);\r
};\r
/*getPresentationAttributeメソッド\r
*SIEでは、もっぱらXLink言語の処理を行う\r
*/\r
function SVGURIReference() {\r
- /*readonly SVGAnimatedString*/ this.href = base("$SVGAnimatedString").up("$1");\r
+ /*readonly SVGAnimatedString*/ this.href = base("$SVGAnimatedString").up();\r
this._instance = null; //埋め込みの場合に、読み込んだDOMツリーを結び付けておくプロパティ\r
this._text = "";\r
this.addEventListener("DOMAttrModified", function(evt){\r
this._currentTime = seconds;\r
},\r
/*SVGNumber*/ createSVGNumber: function(){\r
- return base("$SVGNumber").up("$1");\r
+ return base("$SVGNumber").up();\r
},\r
/*SVGAngle*/ createSVGAngle: function(){\r
- var s = base("$SVGAngle").up("$1");\r
+ var s = base("$SVGAngle").up();\r
s.unitType = 1;\r
return s;\r
},\r
/*SVGLength*/ createSVGLength: function(){\r
- var s = base("$SVGLength").up("$1");\r
+ var s = base("$SVGLength").up();\r
s.unitType = /*SVG_LENGTHTYPE_NUMBER*/ 1;\r
return s;\r
},\r
/*SVGPoint*/ createSVGPoint: function(){\r
- return base("$SVGPoint").up("$1");\r
+ return base("$SVGPoint").up();\r
},\r
/*SVGMatrix*/ createSVGMatrix: function(){\r
//単位行列を作成\r
- return base("$SVGMatrix").up("$1");\r
+ return base("$SVGMatrix").up();\r
},\r
/*SVGRect*/ createSVGRect: function(){\r
- return base("$SVGRect").up("$1");\r
+ return base("$SVGRect").up();\r
},\r
/*SVGTransform*/ createSVGTransform: function(){\r
var s = this.createSVGTransformFromMatrix(this.createSVGMatrix());\r
};\r
function SVGViewSpec(ele) {\r
SVGFitToViewBox.call(this, ele);\r
- /*readonly SVGTransformList*/ this.transform = base("$SVGStringList").$SVGTransformList.up("$1");\r
+ /*readonly SVGTransformList*/ this.transform = base("$SVGStringList").$SVGTransformList.up();\r
/*readonly SVGElement*/ this.viewTarget = ele;\r
/*readonly DOMString*/ this.viewBoxString = this.preserveAspectRatioString = this.transformString = this.viewTargetString = "";\r
};\r
/*readonly SVGAnimatedLength*/ this.width = new slen();\r
/*readonly SVGAnimatedLength*/ this.height = new slen();\r
slen = void 0;\r
- /*readonly SVGElementInstance*/ this.instanceRoot = this.up("$1"); //参照先インスタンスのルート\r
- /*readonly SVGElementInstance*/ this.animatedInstanceRoot = this.up("$1");//アニメの最中のインスタンス。静止中は通常\r
+ /*readonly SVGElementInstance*/ this.instanceRoot = this.up(); //参照先インスタンスのルート\r
+ /*readonly SVGElementInstance*/ this.animatedInstanceRoot = this.up();//アニメの最中のインスタンス。静止中は通常\r
this.addEventListener("DOMNodeInserted", function(evt){\r
if (evt.eventPhase === /*Event.BUBBLING_PHASE*/ 3) {\r
return; //強制終了させる\r
if (!isFinite(matrix.a) || !isFinite(matrix.b) || !isFinite(matrix.c) || !isFinite(matrix.d) || !isFinite(matrix.e) || !isFinite(matrix.f)) {\r
throw (new Error("Type Error: 引数の値がNumber型ではありません"));\r
}\r
- var s = base("$SVGPoint").up("$1");\r
+ var s = base("$SVGPoint").up();\r
s.x = matrix.a * this.x + matrix.c * this.y + matrix.e;\r
s.y = matrix.b * this.x + matrix.d * this.y + matrix.f;\r
return s;\r
*行列の積を求めて返す\r
*/\r
/*SVGMatrix*/ multiply : function(/*SVGMatrix*/ secondMatrix ) {\r
- var s = this.$SVGMatrix.up("$1"),\r
+ var s = this.$SVGMatrix.up(),\r
m = secondMatrix,\r
isf = isFinite,\r
t = this;\r
*逆行列を返す\r
*/\r
/*SVGMatrix*/ inverse : function() {\r
- var s = this.$SVGMatrix.up("$1"), \r
+ var s = this.$SVGMatrix.up(), \r
n = this._determinant();\r
if (n !== 0) {\r
s.a = this.d / n;\r
}\r
},\r
/*SVGMatrix*/ translate : function(/*float*/ x, /*float*/ y ) {\r
- var m = this.$SVGMatrix.up("$1");\r
+ var m = this.$SVGMatrix.up();\r
m.e = x;\r
m.f = y;\r
var s = this.multiply(m);\r
return s;\r
},\r
/*SVGMatrix*/ scale : function(/*float*/ scaleFactor ) {\r
- var m = this.$SVGMatrix.up("$1");\r
+ var m = this.$SVGMatrix.up();\r
m.a = scaleFactor;\r
m.d = scaleFactor;\r
var s = this.multiply(m);\r
return s;\r
},\r
/*SVGMatrix*/ scaleNonUniform : function(/*float*/ scaleFactorX, /*float*/ scaleFactorY ) {\r
- var m = this.$SVGMatrix.up("$1");\r
+ var m = this.$SVGMatrix.up();\r
m.a = scaleFactorX;\r
m.d = scaleFactorY;\r
var s = this.multiply(m);\r
return s;\r
},\r
/*SVGMatrix*/ rotate : function(/*float*/ angle ) {\r
- var m = this.$SVGMatrix.up("$1"), rad = angle / 180 * Math.PI; //ラジアン変換\r
+ var m = this.$SVGMatrix.up(), rad = angle / 180 * Math.PI; //ラジアン変換\r
m.a = Math.cos(rad);\r
m.b = Math.sin(rad);\r
m.c = -m.b;\r
if ((x === 0) || (y === 0) || !isFinite(x) || !isFinite(y)) {\r
throw (new SVGException(/*SVGException.SVG_INVALID_VALUE_ERR*/ 1));\r
}\r
- var m = this.$SVGMatrix.up("$1"), rad = Math.atan2(y, x);\r
+ var m = this.$SVGMatrix.up(), rad = Math.atan2(y, x);\r
m.a = Math.cos(rad);\r
m.b = Math.sin(rad);\r
m.c = -m.b;\r
return s;\r
},\r
/*SVGMatrix*/ flipX : function() {\r
- var m = this.$SVGMatrix.up("$1");\r
+ var m = this.$SVGMatrix.up();\r
m.a = -m.a;\r
var s = this.multiply(m);\r
m = void 0;\r
return s;\r
},\r
/*SVGMatrix*/ flipY : function() {\r
- var m = this.$SVGMatrix.up("$1");\r
+ var m = this.$SVGMatrix.up();\r
m.d = -m.d;\r
var s = this.multiply(m);\r
m = void 0;\r
return s;\r
},\r
/*SVGMatrix*/ skewX : function(/*float*/ angle ){\r
- var m = this.$SVGMatrix.up("$1"), rad = angle / 180 * Math.PI; //ラジアン変換\r
+ var m = this.$SVGMatrix.up(), rad = angle / 180 * Math.PI; //ラジアン変換\r
m.c = Math.tan(rad);\r
var s = this.multiply(m);\r
m = void 0;\r
return s;\r
},\r
/*SVGMatrix*/ skewY : function(/*float*/ angle ){\r
- var m = this.$SVGMatrix.up("$1"), rad = angle / 180 * Math.PI;\r
+ var m = this.$SVGMatrix.up(), rad = angle / 180 * Math.PI;\r
m.b = Math.tan(rad);\r
var s = this.multiply(m);\r
m = void 0;\r
} );\r
\r
function SVGTransform() {\r
- /*readonly SVGMatrix*/ this.matrix = base("$SVGMatrix").up("$1");\r
+ /*readonly SVGMatrix*/ this.matrix = base("$SVGMatrix").up();\r
};\r
// Transform Types\r
/*unsigned short*/ SVGTransform.SVG_TRANSFORM_UNKNOWN = 0;\r
/*readonly float*/ angle : 0,\r
/*void*/ setMatrix : function(/*SVGMatrix*/ matrix ) {\r
this.type = /*SVGTransform.SVG_TRANSFORM_MATRIX*/ 1;\r
- var mat = this._matrix.up("$1");\r
+ var mat = this._matrix.up();\r
mat.a = matrix.a;\r
mat.b = matrix.b;\r
mat.c = matrix.c;\r
} );\r
\r
function SVGAnimatedTransformList() {\r
- /*readonly SVGTransformList*/ this.animVal = this.baseVal = base("$SVGStringList").$SVGTransformList.up("$1");\r
+ /*readonly SVGTransformList*/ this.animVal = this.baseVal = base("$SVGStringList").$SVGTransformList.up();\r
};\r
\r
base("SVGPreserveAspectRatio").mix( {\r
})(base("SVGPreserveAspectRatio"));*/\r
\r
function SVGAnimatedPreserveAspectRatio() {\r
- /*readonly SVGPreserveAspectRatio*/ this.animVal = this.baseVal = base("SVGPreserveAspectRatio").up("$1");\r
+ /*readonly SVGPreserveAspectRatio*/ this.animVal = this.baseVal = base("SVGPreserveAspectRatio").up();\r
};\r
\r
function SVGPathSeg() {\r
this._tar = _doc.createElement("v:shape");\r
//interface SVGAnimatedPathData\r
var sp = base("$SVGStringList").$SVGPathSegList;\r
- /*readonly SVGPathSegList*/ this.pathSegList = sp.up("$1");\r
+ /*readonly SVGPathSegList*/ this.pathSegList = sp.up();\r
this.animatedPathSegList = this.pathSegList;\r
- /*readonly SVGPathSegList*/ this.normalizedPathSegList = sp.up("$1");\r
+ /*readonly SVGPathSegList*/ this.normalizedPathSegList = sp.up();\r
sp = _doc = void 0;\r
this.animatedNormalizedPathSegList = this.normalizedPathSegList;\r
- /*readonly SVGAnimatedNumber*/ this.pathLength = base("$SVGAnimatedNumber").up("$1");\r
+ /*readonly SVGAnimatedNumber*/ this.pathLength = base("$SVGAnimatedNumber").up();\r
//以下は、d属性に変更があった場合の処理\r
this.addEventListener("DOMAttrModified", this._attrModi, false);\r
/*以下の処理は、このpath要素ノードがDOMツリーに追加されて初めて、\r
this._tar = _doc.createElement("v:shape");\r
_doc = void 0;\r
//interface SVGAnimatedPoints\r
- /*readonly SVGPointList*/ this.animatedPoints = this.points = base("$SVGStringList").$SVGPointList.up("$1");;\r
+ /*readonly SVGPointList*/ this.animatedPoints = this.points = base("$SVGStringList").$SVGPointList.up();;\r
this.addEventListener("DOMAttrModified", function(evt){\r
var tar = evt.target;\r
if (evt.attrName === "points") {\r
\r
function SVGTextContentElement(_doc) {\r
/*readonly SVGAnimatedLength*/ this.textLength = new SVGAnimatedLength();\r
- /*readonly SVGAnimatedEnumeration*/ this.lengthAdjust = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.lengthAdjust = base("$SVGAnimatedEnumeration").up();\r
this.addEventListener("DOMNodeInserted", function(evt){\r
var tar = evt.target,\r
cur = evt.currentTarget,\r
var sl = SVGAnimatedLength;\r
/*readonly SVGAnimatedLength*/ this.refX = new sl();\r
/*readonly SVGAnimatedLength*/ this.refY = new sl();\r
- /*readonly SVGAnimatedEnumeration*/ this.markerUnits = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.markerUnits = base("$SVGAnimatedEnumeration").up();\r
this.markerUnits.baseVal = /*SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH*/ 2;\r
/*readonly SVGAnimatedLength*/ this.markerWidth = new sl();\r
/*readonly SVGAnimatedLength*/ this.markerHeight = new sl();\r
this.markerWidth.baseVal.newValueSpecifiedUnits(1, 3);\r
this.markerHeight.baseVal.newValueSpecifiedUnits(1, 3);\r
sl = void 0;\r
- /*readonly SVGAnimatedEnumeration*/ this.orientType = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.orientType = base("$SVGAnimatedEnumeration").up();\r
this.orientType.baseVal = /*SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE*/ 2;\r
/*readonly SVGAnimatedAngle*/ this.orientAngle = new SVGAnimatedAngle();\r
//SVGFitToViewBoxのインターフェースはhttp://www.w3.org/2000/svgsvgオブジェクトで代用\r
\r
function SVGGradientElement() {\r
SVGURIReference.apply(this);\r
- /*readonly SVGAnimatedEnumeration*/ this.gradientUnits = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.gradientUnits = base("$SVGAnimatedEnumeration").up();\r
/*readonly SVGAnimatedTransformList*/ this.gradientTransform = new SVGAnimatedTransformList();\r
- /*readonly SVGAnimatedEnumeration*/ this.spreadMethod = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.spreadMethod = base("$SVGAnimatedEnumeration").up();\r
this.addEventListener("DOMNodeInsertedIntoDocument", function(evt) {\r
var grad = evt.target,\r
ele = evt._tar,\r
SVGRadialGradientElement.prototype = Object._create(SVGGradientElement);\r
\r
function SVGStopElement() {\r
- /*readonly SVGAnimatedNumber*/ this.offset = base("$SVGAnimatedNumber").up("$1");\r
+ /*readonly SVGAnimatedNumber*/ this.offset = base("$SVGAnimatedNumber").up();\r
this.addEventListener("DOMAttrModified", function(evt) {\r
if (evt.attrName === "offset") {\r
var env = evt.newValue;\r
\r
function SVGPatternElement() {\r
var sl = SVGAnimatedLength;\r
- /*readonly SVGAnimatedEnumeration*/ this.patternUnits = base("$SVGAnimatedEnumeration").up("$1");\r
- /*readonly SVGAnimatedEnumeration*/ this.patternContentUnits = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.patternUnits = base("$SVGAnimatedEnumeration").up();\r
+ /*readonly SVGAnimatedEnumeration*/ this.patternContentUnits = base("$SVGAnimatedEnumeration").up();\r
/*readonly SVGAnimatedTransformList*/ this.patternTransform = new SVGAnimatedTransformList();\r
/*readonly SVGAnimatedLength*/ this.x = new sl();\r
/*readonly SVGAnimatedLength*/ this.y = new sl();\r
};\r
\r
function SVGClipPathElement() {\r
- /*readonly SVGAnimatedEnumeration*/ this.clipPathUnits = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.clipPathUnits = base("$SVGAnimatedEnumeration").up();\r
};\r
\r
function SVGMaskElement() {\r
var sl = SVGAnimatedLength;\r
- /*readonly SVGAnimatedEnumeration*/ this.maskUnits = base("$SVGAnimatedEnumeration").up("$1");\r
- /*readonly SVGAnimatedEnumeration*/ this.maskContentUnits = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.maskUnits = base("$SVGAnimatedEnumeration").up();\r
+ /*readonly SVGAnimatedEnumeration*/ this.maskContentUnits = base("$SVGAnimatedEnumeration").up();\r
/*readonly SVGAnimatedLength*/ this.x = new sl();\r
/*readonly SVGAnimatedLength*/ this.y = new sl();\r
/*readonly SVGAnimatedLength*/ this.width = new sl();\r
\r
function SVGFilterElement() {\r
var sl = SVGAnimatedLength;\r
- /*readonly SVGAnimatedEnumeration*/ this.filterUnits = base("$SVGAnimatedEnumeration").up("$1");\r
- /*readonly SVGAnimatedEnumeration*/ this.primitiveUnits = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedEnumeration*/ this.filterUnits = base("$SVGAnimatedEnumeration").up();\r
+ /*readonly SVGAnimatedEnumeration*/ this.primitiveUnits = base("$SVGAnimatedEnumeration").up();\r
/*readonly SVGAnimatedLength*/ this.x = new sl();\r
/*readonly SVGAnimatedLength*/ this.y = new sl();\r
/*readonly SVGAnimatedLength*/ this.width = new sl();\r
/*readonly SVGAnimatedLength*/ this.height = new sl();\r
sl = void 0;\r
- /*readonly SVGAnimatedInteger*/ this.filterResX = base("$SVGAnimatedInteger").up("$1");\r
- /*readonly SVGAnimatedInteger*/ this.filterResY = base("$SVGAnimatedInteger").up("$1");\r
+ /*readonly SVGAnimatedInteger*/ this.filterResX = base("$SVGAnimatedInteger").up();\r
+ /*readonly SVGAnimatedInteger*/ this.filterResY = base("$SVGAnimatedInteger").up();\r
SVGURIReference.apply(this);\r
//setFilterRes (/*unsigned long*/ filterResX,/*unsigned long*/ filterResY );\r
};\r
/*readonly SVGAnimatedLength*/ this.y = new sl();\r
/*readonly SVGAnimatedLength*/ this.width = new sl();\r
/*readonly SVGAnimatedLength*/ this.height = new sl();\r
- /*readonly SVGAnimatedString*/ this.result = base("$SVGAnimatedString").up("$1");\r
+ /*readonly SVGAnimatedString*/ this.result = base("$SVGAnimatedString").up();\r
sl = void 0;\r
};\r
SVGFilterPrimitiveStandardAttributes.prototype = Object._create(SVGStylable);\r
\r
function SVGFEBlendElement() {\r
- /*readonly SVGAnimatedString*/ this.in1 = base("$SVGAnimatedString").up("$1");\r
- /*readonly SVGAnimatedString*/ this.in2 = base("$SVGAnimatedString").up("$1");\r
- /*readonly SVGAnimatedEnumeration*/ this.mode = base("$SVGAnimatedEnumeration").up("$1");\r
+ /*readonly SVGAnimatedString*/ this.in1 = base("$SVGAnimatedString").up();\r
+ /*readonly SVGAnimatedString*/ this.in2 = base("$SVGAnimatedString").up();\r
+ /*readonly SVGAnimatedEnumeration*/ this.mode = base("$SVGAnimatedEnumeration").up();\r
this._fpsa = SVGFilterPrimitiveStandardAttributes(this);\r
};\r
// Blend Mode Types\r
/*unsigned short SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN = 5;*/\r
\r
function SVGFEGaussianBlurElement() {\r
- /*readonly SVGAnimatedString*/ this.in1 = base("$SVGAnimatedString").up("$1");\r
- /*readonly SVGAnimatedNumber*/ this.stdDeviationX = base("$SVGAnimatedNumber").up("$1");\r
- /*readonly SVGAnimatedNumber*/ this.stdDeviationY = base("$SVGAnimatedNumber").up("$1");\r
+ /*readonly SVGAnimatedString*/ this.in1 = base("$SVGAnimatedString").up();\r
+ /*readonly SVGAnimatedNumber*/ this.stdDeviationX = base("$SVGAnimatedNumber").up();\r
+ /*readonly SVGAnimatedNumber*/ this.stdDeviationY = base("$SVGAnimatedNumber").up();\r
this._fpsa = SVGFilterPrimitiveStandardAttributes(this);\r
};\r
/*void*/ SVGFEGaussianBlurElement.prototype.setStdDeviation = function(/*float*/ stdDeviationX, /*float*/ stdDeviationY ) {\r
function SVGAElement(_doc) {\r
this._tar = _doc.createElement("a");\r
_doc = void 0;\r
- /*readonly SVGAnimatedString*/ this.target = base("$SVGAnimatedString").up("$1");\r
+ /*readonly SVGAnimatedString*/ this.target = base("$SVGAnimatedString").up();\r
this.target.baseVal = "_self";\r
this.addEventListener("DOMAttrModified", function(evt){\r
var tar = evt.target;\r
};\r
\r
function SVGViewElement() {\r
- /*readonly SVGStringList*/ this.viewTarget = base("$SVGStringList").up("$1");\r
+ /*readonly SVGStringList*/ this.viewTarget = base("$SVGStringList").up();\r
//SVGFitToViewBoxのインターフェースを用いる\r
/*readonly SVGAnimatedRect*/ this.viewBox = new SVGAnimatedRect();\r
/*readonly SVGAnimatedPreserveAspectRatio*/ this.preserveAspectRatio = new SVGAnimatedPreserveAspectRatio();\r
base("$event").up("SVGEvents");\r
\r
base("$event").SVGZoomEvents = base("$event").UIEvents.up("SVGZoomEvents").on("itnitialize", function() {\r
- /*readonly SVGRect*/ this.zoomRectScreen = base("$SVGRect").up("$1");\r
+ /*readonly SVGRect*/ this.zoomRectScreen = base("$SVGRect").up();\r
/*readonly float*/ this.previousScale = this.newScale = 1;\r
- /*readonly SVGPoint*/ this.previousTranslate = base("$SVGPoint").up("$1");\r
- /*readonly SVGPoint*/ this.newTranslate = base("$SVGPoint").up("$1");\r
+ /*readonly SVGPoint*/ this.previousTranslate = base("$SVGPoint").up();\r
+ /*readonly SVGPoint*/ this.newTranslate = base("$SVGPoint").up();\r
});\r
\r
function SVGAnimationElement() {\r
ttr = tar.targetElement,\r
tta = ttr[attrName];\r
/*tar.valuesのリスト: ["12px", "13px"]\r
- *tar._valueList: [(base("$SVGPoint").up("$1")), (base("$SVGPoint").up("$1"))]\r
+ *tar._valueList: [(base("$SVGPoint").up()), (base("$SVGPoint").up())]\r
* tar.valuesを機械が理解できるように変換したものがtar._valueList\r
*この_valueListプロパティはアニメの際に使うので、_valuesプロパティはアニメ中に使わないことに注意\r
*/\r
/*アニメーション中に変化すべき値をanimValプロパティに入力して、\r
*baseValと同じような値に設定。\r
*/\r
- trans.animVal = base("$SVGStringList").$SVGTransformList.up("$1");;\r
+ trans.animVal = base("$SVGStringList").$SVGTransformList.up();;\r
if (trans.baseVal.numberOfItems !== 0) {\r
trans.animVal.initialize(trans.baseVal.createSVGTransformFromMatrix(trans.baseVal.consolidate().matrix));\r
} else {\r
/*アニメーション中に変化すべき値をanimValプロパティに入力して、\r
*baseValと同じような値に設定。\r
*/\r
- trans.animVal = base("$SVGStringList").$SVGTransformList.up("$1");\r
+ trans.animVal = base("$SVGStringList").$SVGTransformList.up();\r
if (trans.baseVal.numberOfItems !== 0) {\r
trans.animVal.initialize(trans.baseVal.createSVGTransformFromMatrix(trans.baseVal.getItem(0).matrix));\r
}\r