| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 class _SVGSVGElementWrappingImplementation extends _SVGElementWrappingImplementa
tion implements SVGSVGElement { |
| 8 _SVGSVGElementWrappingImplementation() : super() {} |
| 9 |
| 10 static create__SVGSVGElementWrappingImplementation() native { |
| 11 return new _SVGSVGElementWrappingImplementation(); |
| 12 } |
| 13 |
| 14 String get contentScriptType() { return _get_contentScriptType(this); } |
| 15 static String _get_contentScriptType(var _this) native; |
| 16 |
| 17 void set contentScriptType(String value) { _set_contentScriptType(this, value)
; } |
| 18 static void _set_contentScriptType(var _this, String value) native; |
| 19 |
| 20 String get contentStyleType() { return _get_contentStyleType(this); } |
| 21 static String _get_contentStyleType(var _this) native; |
| 22 |
| 23 void set contentStyleType(String value) { _set_contentStyleType(this, value);
} |
| 24 static void _set_contentStyleType(var _this, String value) native; |
| 25 |
| 26 num get currentScale() { return _get_currentScale(this); } |
| 27 static num _get_currentScale(var _this) native; |
| 28 |
| 29 void set currentScale(num value) { _set_currentScale(this, value); } |
| 30 static void _set_currentScale(var _this, num value) native; |
| 31 |
| 32 SVGPoint get currentTranslate() { return _get_currentTranslate(this); } |
| 33 static SVGPoint _get_currentTranslate(var _this) native; |
| 34 |
| 35 SVGAnimatedLength get height() { return _get_height(this); } |
| 36 static SVGAnimatedLength _get_height(var _this) native; |
| 37 |
| 38 num get pixelUnitToMillimeterX() { return _get_pixelUnitToMillimeterX(this); } |
| 39 static num _get_pixelUnitToMillimeterX(var _this) native; |
| 40 |
| 41 num get pixelUnitToMillimeterY() { return _get_pixelUnitToMillimeterY(this); } |
| 42 static num _get_pixelUnitToMillimeterY(var _this) native; |
| 43 |
| 44 num get screenPixelToMillimeterX() { return _get_screenPixelToMillimeterX(this
); } |
| 45 static num _get_screenPixelToMillimeterX(var _this) native; |
| 46 |
| 47 num get screenPixelToMillimeterY() { return _get_screenPixelToMillimeterY(this
); } |
| 48 static num _get_screenPixelToMillimeterY(var _this) native; |
| 49 |
| 50 bool get useCurrentView() { return _get_useCurrentView(this); } |
| 51 static bool _get_useCurrentView(var _this) native; |
| 52 |
| 53 void set useCurrentView(bool value) { _set_useCurrentView(this, value); } |
| 54 static void _set_useCurrentView(var _this, bool value) native; |
| 55 |
| 56 SVGRect get viewport() { return _get_viewport(this); } |
| 57 static SVGRect _get_viewport(var _this) native; |
| 58 |
| 59 SVGAnimatedLength get width() { return _get_width(this); } |
| 60 static SVGAnimatedLength _get_width(var _this) native; |
| 61 |
| 62 SVGAnimatedLength get x() { return _get_x(this); } |
| 63 static SVGAnimatedLength _get_x(var _this) native; |
| 64 |
| 65 SVGAnimatedLength get y() { return _get_y(this); } |
| 66 static SVGAnimatedLength _get_y(var _this) native; |
| 67 |
| 68 bool animationsPaused() { |
| 69 return _animationsPaused(this); |
| 70 } |
| 71 static bool _animationsPaused(receiver) native; |
| 72 |
| 73 bool checkEnclosure(SVGElement element, SVGRect rect) { |
| 74 return _checkEnclosure(this, element, rect); |
| 75 } |
| 76 static bool _checkEnclosure(receiver, element, rect) native; |
| 77 |
| 78 bool checkIntersection(SVGElement element, SVGRect rect) { |
| 79 return _checkIntersection(this, element, rect); |
| 80 } |
| 81 static bool _checkIntersection(receiver, element, rect) native; |
| 82 |
| 83 SVGAngle createSVGAngle() { |
| 84 return _createSVGAngle(this); |
| 85 } |
| 86 static SVGAngle _createSVGAngle(receiver) native; |
| 87 |
| 88 SVGLength createSVGLength() { |
| 89 return _createSVGLength(this); |
| 90 } |
| 91 static SVGLength _createSVGLength(receiver) native; |
| 92 |
| 93 SVGMatrix createSVGMatrix() { |
| 94 return _createSVGMatrix(this); |
| 95 } |
| 96 static SVGMatrix _createSVGMatrix(receiver) native; |
| 97 |
| 98 SVGNumber createSVGNumber() { |
| 99 return _createSVGNumber(this); |
| 100 } |
| 101 static SVGNumber _createSVGNumber(receiver) native; |
| 102 |
| 103 SVGPoint createSVGPoint() { |
| 104 return _createSVGPoint(this); |
| 105 } |
| 106 static SVGPoint _createSVGPoint(receiver) native; |
| 107 |
| 108 SVGRect createSVGRect() { |
| 109 return _createSVGRect(this); |
| 110 } |
| 111 static SVGRect _createSVGRect(receiver) native; |
| 112 |
| 113 SVGTransform createSVGTransform() { |
| 114 return _createSVGTransform(this); |
| 115 } |
| 116 static SVGTransform _createSVGTransform(receiver) native; |
| 117 |
| 118 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) { |
| 119 return _createSVGTransformFromMatrix(this, matrix); |
| 120 } |
| 121 static SVGTransform _createSVGTransformFromMatrix(receiver, matrix) native; |
| 122 |
| 123 void deselectAll() { |
| 124 _deselectAll(this); |
| 125 return; |
| 126 } |
| 127 static void _deselectAll(receiver) native; |
| 128 |
| 129 void forceRedraw() { |
| 130 _forceRedraw(this); |
| 131 return; |
| 132 } |
| 133 static void _forceRedraw(receiver) native; |
| 134 |
| 135 num getCurrentTime() { |
| 136 return _getCurrentTime(this); |
| 137 } |
| 138 static num _getCurrentTime(receiver) native; |
| 139 |
| 140 Element getElementById(String elementId) { |
| 141 return _getElementById(this, elementId); |
| 142 } |
| 143 static Element _getElementById(receiver, elementId) native; |
| 144 |
| 145 NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement) { |
| 146 return _getEnclosureList(this, rect, referenceElement); |
| 147 } |
| 148 static NodeList _getEnclosureList(receiver, rect, referenceElement) native; |
| 149 |
| 150 NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement) { |
| 151 return _getIntersectionList(this, rect, referenceElement); |
| 152 } |
| 153 static NodeList _getIntersectionList(receiver, rect, referenceElement) native; |
| 154 |
| 155 void pauseAnimations() { |
| 156 _pauseAnimations(this); |
| 157 return; |
| 158 } |
| 159 static void _pauseAnimations(receiver) native; |
| 160 |
| 161 void setCurrentTime(num seconds) { |
| 162 _setCurrentTime(this, seconds); |
| 163 return; |
| 164 } |
| 165 static void _setCurrentTime(receiver, seconds) native; |
| 166 |
| 167 int suspendRedraw(int maxWaitMilliseconds) { |
| 168 return _suspendRedraw(this, maxWaitMilliseconds); |
| 169 } |
| 170 static int _suspendRedraw(receiver, maxWaitMilliseconds) native; |
| 171 |
| 172 void unpauseAnimations() { |
| 173 _unpauseAnimations(this); |
| 174 return; |
| 175 } |
| 176 static void _unpauseAnimations(receiver) native; |
| 177 |
| 178 void unsuspendRedraw(int suspendHandleId) { |
| 179 _unsuspendRedraw(this, suspendHandleId); |
| 180 return; |
| 181 } |
| 182 static void _unsuspendRedraw(receiver, suspendHandleId) native; |
| 183 |
| 184 void unsuspendRedrawAll() { |
| 185 _unsuspendRedrawAll(this); |
| 186 return; |
| 187 } |
| 188 static void _unsuspendRedrawAll(receiver) native; |
| 189 |
| 190 // From SVGTests |
| 191 |
| 192 SVGStringList get requiredExtensions() { return _get_requiredExtensions(this);
} |
| 193 static SVGStringList _get_requiredExtensions(var _this) native; |
| 194 |
| 195 SVGStringList get requiredFeatures() { return _get_requiredFeatures(this); } |
| 196 static SVGStringList _get_requiredFeatures(var _this) native; |
| 197 |
| 198 SVGStringList get systemLanguage() { return _get_systemLanguage(this); } |
| 199 static SVGStringList _get_systemLanguage(var _this) native; |
| 200 |
| 201 bool hasExtension(String extension) { |
| 202 return _hasExtension(this, extension); |
| 203 } |
| 204 static bool _hasExtension(receiver, extension) native; |
| 205 |
| 206 // From SVGLangSpace |
| 207 |
| 208 String get xmllang() { return _get_xmllang(this); } |
| 209 static String _get_xmllang(var _this) native; |
| 210 |
| 211 void set xmllang(String value) { _set_xmllang(this, value); } |
| 212 static void _set_xmllang(var _this, String value) native; |
| 213 |
| 214 String get xmlspace() { return _get_xmlspace(this); } |
| 215 static String _get_xmlspace(var _this) native; |
| 216 |
| 217 void set xmlspace(String value) { _set_xmlspace(this, value); } |
| 218 static void _set_xmlspace(var _this, String value) native; |
| 219 |
| 220 // From SVGExternalResourcesRequired |
| 221 |
| 222 SVGAnimatedBoolean get externalResourcesRequired() { return _get_externalResou
rcesRequired(this); } |
| 223 static SVGAnimatedBoolean _get_externalResourcesRequired(var _this) native; |
| 224 |
| 225 // From SVGStylable |
| 226 |
| 227 SVGAnimatedString get className() { return _get_className(this); } |
| 228 static SVGAnimatedString _get_className(var _this) native; |
| 229 |
| 230 CSSStyleDeclaration get style() { return _get_style_SVGSVGElement(this); } |
| 231 static CSSStyleDeclaration _get_style_SVGSVGElement(var _this) native; |
| 232 |
| 233 CSSValue getPresentationAttribute(String name) { |
| 234 return _getPresentationAttribute(this, name); |
| 235 } |
| 236 static CSSValue _getPresentationAttribute(receiver, name) native; |
| 237 |
| 238 // From SVGLocatable |
| 239 |
| 240 SVGElement get farthestViewportElement() { return _get_farthestViewportElement
(this); } |
| 241 static SVGElement _get_farthestViewportElement(var _this) native; |
| 242 |
| 243 SVGElement get nearestViewportElement() { return _get_nearestViewportElement(t
his); } |
| 244 static SVGElement _get_nearestViewportElement(var _this) native; |
| 245 |
| 246 SVGRect getBBox() { |
| 247 return _getBBox(this); |
| 248 } |
| 249 static SVGRect _getBBox(receiver) native; |
| 250 |
| 251 SVGMatrix getCTM() { |
| 252 return _getCTM(this); |
| 253 } |
| 254 static SVGMatrix _getCTM(receiver) native; |
| 255 |
| 256 SVGMatrix getScreenCTM() { |
| 257 return _getScreenCTM(this); |
| 258 } |
| 259 static SVGMatrix _getScreenCTM(receiver) native; |
| 260 |
| 261 SVGMatrix getTransformToElement(SVGElement element) { |
| 262 return _getTransformToElement(this, element); |
| 263 } |
| 264 static SVGMatrix _getTransformToElement(receiver, element) native; |
| 265 |
| 266 // From SVGFitToViewBox |
| 267 |
| 268 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() { return _get_preserv
eAspectRatio(this); } |
| 269 static SVGAnimatedPreserveAspectRatio _get_preserveAspectRatio(var _this) nati
ve; |
| 270 |
| 271 SVGAnimatedRect get viewBox() { return _get_viewBox(this); } |
| 272 static SVGAnimatedRect _get_viewBox(var _this) native; |
| 273 |
| 274 // From SVGZoomAndPan |
| 275 |
| 276 int get zoomAndPan() { return _get_zoomAndPan(this); } |
| 277 static int _get_zoomAndPan(var _this) native; |
| 278 |
| 279 void set zoomAndPan(int value) { _set_zoomAndPan(this, value); } |
| 280 static void _set_zoomAndPan(var _this, int value) native; |
| 281 |
| 282 String get typeName() { return "SVGSVGElement"; } |
| 283 } |
| OLD | NEW |