| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2010 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 5 * Copyright (C) 2006 Apple Inc. All rights reserved. | 5 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 // http://www.w3.org/TR/SVG2/struct.html#InterfaceSVGSVGElement | 23 // http://www.w3.org/TR/SVG2/struct.html#InterfaceSVGSVGElement |
| 24 | 24 |
| 25 // TODO: no css::ViewCSS available! | 25 // TODO: no css::ViewCSS available! |
| 26 // TODO: no events::DocumentEvent available! | 26 // TODO: no events::DocumentEvent available! |
| 27 [ | 27 [ |
| 28 TypeChecking=Interface, | 28 TypeChecking=Interface, |
| 29 ] interface SVGSVGElement : SVGGraphicsElement { | 29 ] interface SVGSVGElement : SVGGraphicsElement { |
| 30 | 30 |
| 31 readonly attribute SVGAnimatedLength x; | 31 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth x; |
| 32 readonly attribute SVGAnimatedLength y; | 32 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth y; |
| 33 readonly attribute SVGAnimatedLength width; | 33 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth width; |
| 34 readonly attribute SVGAnimatedLength height; | 34 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] readonly attribute SVGAnimatedLe
ngth height; |
| 35 readonly attribute SVGRect viewport; | 35 readonly attribute SVGRect viewport; |
| 36 readonly attribute float pixelUnitToMillimeterX; | 36 readonly attribute float pixelUnitToMillimeterX; |
| 37 readonly attribute float pixelUnitToMillimeterY; | 37 readonly attribute float pixelUnitToMillimeterY; |
| 38 readonly attribute float screenPixelToMillimeterX; | 38 readonly attribute float screenPixelToMillimeterX; |
| 39 readonly attribute float screenPixelToMillimeterY; | 39 readonly attribute float screenPixelToMillimeterY; |
| 40 readonly attribute boolean useCurrentView; | 40 readonly attribute boolean useCurrentView; |
| 41 readonly attribute SVGViewSpec currentView; | 41 readonly attribute SVGViewSpec currentView; |
| 42 attribute float currentScale; | 42 attribute float currentScale; |
| 43 [ImplementedAs=currentTranslateFromJavascript] readonly attribute SVGPoint c
urrentTranslate; | 43 [ImplementedAs=currentTranslateFromJavascript] readonly attribute SVGPoint c
urrentTranslate; |
| 44 | 44 |
| 45 unsigned long suspendRedraw(unsigned long maxWaitMilliseconds); | 45 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] unsigned long suspendRedraw(unsi
gned long maxWaitMilliseconds); |
| 46 void unsuspendRedraw(unsigned long suspendHandleId); | 46 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void unsuspendRedraw(unsigned lo
ng suspendHandleId); |
| 47 void unsuspendRedrawAll(); | 47 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void unsuspendRedrawAll(); |
| 48 void forceRedraw(); | 48 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] void forceRedraw(); |
| 49 void pauseAnimations(); | 49 void pauseAnimations(); |
| 50 void unpauseAnimations(); | 50 void unpauseAnimations(); |
| 51 boolean animationsPaused(); | 51 boolean animationsPaused(); |
| 52 float getCurrentTime(); | 52 float getCurrentTime(); |
| 53 void setCurrentTime(float seconds); | 53 void setCurrentTime(float seconds); |
| 54 NodeList getIntersectionList(SVGRect rect, SVGElement? referenceElement); | 54 NodeList getIntersectionList(SVGRect rect, SVGElement? referenceElement); |
| 55 NodeList getEnclosureList(SVGRect rect, SVGElement? referenceElement); | 55 NodeList getEnclosureList(SVGRect rect, SVGElement? referenceElement); |
| 56 boolean checkIntersection(SVGElement element, SVGRect rect); | 56 boolean checkIntersection(SVGElement element, SVGRect rect); |
| 57 boolean checkEnclosure(SVGElement element, SVGRect rect); | 57 boolean checkEnclosure(SVGElement element, SVGRect rect); |
| 58 void deselectAll(); | 58 void deselectAll(); |
| 59 | 59 |
| 60 SVGNumber createSVGNumber(); | 60 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGNumber createSVGNumber(); |
| 61 SVGLength createSVGLength(); | 61 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGLength createSVGLength(); |
| 62 SVGAngle createSVGAngle(); | 62 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGAngle createSVGAngle(); |
| 63 SVGPoint createSVGPoint(); | 63 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGPoint createSVGPoint(); |
| 64 SVGMatrix createSVGMatrix(); | 64 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGMatrix createSVGMatrix(); |
| 65 SVGRect createSVGRect(); | 65 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGRect createSVGRect(); |
| 66 SVGTransform createSVGTransform(); | 66 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGTransform createSVGTransform(
); |
| 67 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix); | 67 [RuntimeEnabled=SVG1DOM, MeasureAs=SVG1DOM] SVGTransform createSVGTransformF
romMatrix(SVGMatrix matrix); |
| 68 Element getElementById(DOMString elementId); | 68 Element getElementById(DOMString elementId); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 SVGSVGElement implements SVGFitToViewBox; | 71 SVGSVGElement implements SVGFitToViewBox; |
| 72 SVGSVGElement implements SVGZoomAndPan; | 72 SVGSVGElement implements SVGZoomAndPan; |
| OLD | NEW |