| 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. |
| 11 * | 11 * |
| 12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Library General Public License for more details. | 15 * Library General Public License for more details. |
| 16 * | 16 * |
| 17 * You should have received a copy of the GNU Library General Public License | 17 * You should have received a copy of the GNU Library General Public License |
| 18 * along with this library; see the file COPYING.LIB. If not, write to | 18 * along with this library; see the file COPYING.LIB. If not, write to |
| 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 * Boston, MA 02110-1301, USA. | 20 * Boston, MA 02110-1301, USA. |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 // TODO: no css::ViewCSS available! | 23 // TODO: no css::ViewCSS available! |
| 24 // TODO: Fix SVGSVGElement inheritance (css::DocumentCSS)! | |
| 25 // TODO: no events::DocumentEvent available! | 24 // TODO: no events::DocumentEvent available! |
| 26 interface SVGSVGElement : SVGStyledElement, | 25 interface SVGSVGElement : SVGGraphicsElement { |
| 27 SVGLangSpace, | |
| 28 SVGTransformable { | |
| 29 readonly attribute SVGAnimatedLength x; | 26 readonly attribute SVGAnimatedLength x; |
| 30 readonly attribute SVGAnimatedLength y; | 27 readonly attribute SVGAnimatedLength y; |
| 31 readonly attribute SVGAnimatedLength width; | 28 readonly attribute SVGAnimatedLength width; |
| 32 readonly attribute SVGAnimatedLength height; | 29 readonly attribute SVGAnimatedLength height; |
| 33 attribute DOMString contentScriptType; | 30 attribute DOMString contentScriptType; |
| 34 attribute DOMString contentStyleType; | 31 attribute DOMString contentStyleType; |
| 35 readonly attribute SVGRect viewport; | 32 readonly attribute SVGRect viewport; |
| 36 readonly attribute float pixelUnitToMillimeterX; | 33 readonly attribute float pixelUnitToMillimeterX; |
| 37 readonly attribute float pixelUnitToMillimeterY; | 34 readonly attribute float pixelUnitToMillimeterY; |
| 38 readonly attribute float screenPixelToMillimeterX; | 35 readonly attribute float screenPixelToMillimeterX; |
| 39 readonly attribute float screenPixelToMillimeterY; | 36 readonly attribute float screenPixelToMillimeterY; |
| 40 readonly attribute boolean useCurrentView; | 37 readonly attribute boolean useCurrentView; |
| 41 readonly attribute SVGViewSpec currentView; | 38 readonly attribute SVGViewSpec currentView; |
| 42 attribute float currentScale; | 39 attribute float currentScale; |
| 43 readonly attribute SVGPoint currentTranslate; | 40 readonly attribute SVGPoint currentTranslate; |
| 44 | 41 |
| 45 unsigned long suspendRedraw([Default=Undefined] optional unsigned long maxWa
itMilliseconds); | 42 unsigned long suspendRedraw([Default=Undefined] optional unsigned long maxWa
itMilliseconds); |
| 46 void unsuspendRedraw([Default=Undefined] optional unsigned long suspendHandl
eId); | 43 void unsuspendRedraw([Default=Undefined] optional unsigned long suspendHandl
eId); |
| 47 void unsuspendRedrawAll(); | 44 void unsuspendRedrawAll(); |
| 48 void forceRedraw(); | 45 void forceRedraw(); |
| 49 void pauseAnimations(); | 46 void pauseAnimations(); |
| 50 void unpauseAnimations(); | 47 void unpauseAnimations(); |
| 51 boolean animationsPaused(); | 48 boolean animationsPaused(); |
| 52 float getCurrentTime(); | 49 float getCurrentTime(); |
| 53 void setCurrentTime([Default=Undefined] optional float seconds); | 50 void setCurrentTime([Default=Undefined] optional float seconds); |
| 54 NodeList getIntersectionList([Default=Undefined] optional SVGRect rect, | 51 NodeList getIntersectionList([Default=Undefined] optional SVGRect rect, |
| 55 [Default=Undefined] optional SVGElement referen
ceElement); | 52 [Default=Undefined] optional SVGElement referen
ceElement); |
| 56 NodeList getEnclosureList([Default=Undefined] optional SVGRect rect, | 53 NodeList getEnclosureList([Default=Undefined] optional SVGRect rect, |
| 57 [Default=Undefined] optional SVGElement referenceE
lement); | 54 [Default=Undefined] optional SVGElement referenceE
lement); |
| 58 boolean checkIntersection([Default=Undefined] optional SVGElement element, | 55 boolean checkIntersection([Default=Undefined] optional SVGElement element, |
| 59 [Default=Undefined] optional SVGRect rect); | 56 [Default=Undefined] optional SVGRect rect); |
| 60 boolean checkEnclosure([Default=Undefined] optional SVGElement element, | 57 boolean checkEnclosure([Default=Undefined] optional SVGElement element, |
| 61 [Default=Undefined] optional SVGRect rect); | 58 [Default=Undefined] optional SVGRect rect); |
| 62 void deselectAll(); | 59 void deselectAll(); |
| 63 | 60 |
| 64 SVGNumber createSVGNumber(); | 61 SVGNumber createSVGNumber(); |
| 65 SVGLength createSVGLength(); | 62 SVGLength createSVGLength(); |
| 66 SVGAngle createSVGAngle(); | 63 SVGAngle createSVGAngle(); |
| 67 SVGPoint createSVGPoint(); | 64 SVGPoint createSVGPoint(); |
| 68 SVGMatrix createSVGMatrix(); | 65 SVGMatrix createSVGMatrix(); |
| 69 SVGRect createSVGRect(); | 66 SVGRect createSVGRect(); |
| 70 SVGTransform createSVGTransform(); | 67 SVGTransform createSVGTransform(); |
| 71 SVGTransform createSVGTransformFromMatrix([Default=Undefined] optional SVGMa
trix matrix); | 68 SVGTransform createSVGTransformFromMatrix([Default=Undefined] optional SVGMa
trix matrix); |
| 72 Element getElementById([Default=Undefined] optional DOMString elementId); | 69 Element getElementById([Default=Undefined] optional DOMString elementId); |
| 73 }; | 70 }; |
| 74 | 71 |
| 75 SVGSVGElement implements SVGExternalResourcesRequired; | 72 SVGSVGElement implements SVGExternalResourcesRequired; |
| 76 SVGSVGElement implements SVGTests; | |
| 77 SVGSVGElement implements SVGFitToViewBox; | 73 SVGSVGElement implements SVGFitToViewBox; |
| 78 SVGSVGElement implements SVGZoomAndPan; | 74 SVGSVGElement implements SVGZoomAndPan; |
| 79 | 75 |
| OLD | NEW |