OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2010 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 5 * Copyright (C) 2006 Apple Inc. All rights reserved. |
| 6 * |
| 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. |
| 11 * |
| 12 * This library is distributed in the hope that it will be useful, |
| 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 * Library General Public License for more details. |
| 16 * |
| 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 |
| 19 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 20 * Boston, MA 02110-1301, USA. |
| 21 */ |
| 22 |
| 23 module svg { |
| 24 |
| 25 // TODO: no css::ViewCSS available! |
| 26 // TODO: Fix SVGSVGElement inheritance (css::DocumentCSS)! |
| 27 // TODO: no events::DocumentEvent available! |
| 28 interface [ |
| 29 Conditional=SVG |
| 30 ] SVGSVGElement : SVGElement, |
| 31 SVGTests, |
| 32 SVGLangSpace, |
| 33 SVGExternalResourcesRequired, |
| 34 SVGStylable, |
| 35 SVGLocatable, |
| 36 SVGFitToViewBox, |
| 37 SVGZoomAndPan { |
| 38 readonly attribute SVGAnimatedLength x; |
| 39 readonly attribute SVGAnimatedLength y; |
| 40 readonly attribute SVGAnimatedLength width; |
| 41 readonly attribute SVGAnimatedLength height; |
| 42 attribute DOMString contentScriptType |
| 43 /*setter raises(DOMException)*/; |
| 44 attribute DOMString contentStyleType |
| 45 /*setter raises(DOMException)*/; |
| 46 readonly attribute SVGRect viewport; |
| 47 readonly attribute float pixelUnitToMillimeterX; |
| 48 readonly attribute float pixelUnitToMillimeterY; |
| 49 readonly attribute float screenPixelToMillimeterX; |
| 50 readonly attribute float screenPixelToMillimeterY; |
| 51 attribute boolean useCurrentView |
| 52 /*setter raises(DOMException)*/; |
| 53 // TODO readonly attribute SVGViewSpec currentView; |
| 54 attribute float currentScale |
| 55 /*setter raises(DOMException)*/; |
| 56 readonly attribute SVGPoint currentTranslate; |
| 57 |
| 58 unsigned long suspendRedraw(in [Optional=DefaultIsUndefined] unsigned lo
ng maxWaitMilliseconds); |
| 59 void unsuspendRedraw(in [Optional=DefaultIsUndefined] unsigned long susp
endHandleId); |
| 60 void unsuspendRedrawAll(); |
| 61 void forceRedraw(); |
| 62 void pauseAnimations(); |
| 63 void unpauseAnimations(); |
| 64 boolean animationsPaused(); |
| 65 float getCurrentTime(); |
| 66 void setCurrentTime(in [Optional=DefaultIsUndefined] float seconds); |
| 67 NodeList getIntersectionList(in [Optional=DefaultIsUndefined] SVGRect re
ct, |
| 68 in [Optional=DefaultIsUndefined] SVGElement
referenceElement); |
| 69 NodeList getEnclosureList(in [Optional=DefaultIsUndefined] SVGRect rect,
|
| 70 in [Optional=DefaultIsUndefined] SVGElement re
ferenceElement); |
| 71 boolean checkIntersection(in [Optional=DefaultIsUndefined] SVGElement el
ement, |
| 72 in [Optional=DefaultIsUndefined] SVGRect rect)
; |
| 73 boolean checkEnclosure(in [Optional=DefaultIsUndefined] SVGElement eleme
nt, |
| 74 in [Optional=DefaultIsUndefined] SVGRect rect); |
| 75 void deselectAll(); |
| 76 |
| 77 SVGNumber createSVGNumber(); |
| 78 SVGLength createSVGLength(); |
| 79 SVGAngle createSVGAngle(); |
| 80 SVGPoint createSVGPoint(); |
| 81 SVGMatrix createSVGMatrix(); |
| 82 SVGRect createSVGRect(); |
| 83 SVGTransform createSVGTransform(); |
| 84 SVGTransform createSVGTransformFromMatrix(in [Optional=DefaultIsUndefine
d] SVGMatrix matrix); |
| 85 Element getElementById(in [Optional=DefaultIsUndefined] DOMString elemen
tId); |
| 86 }; |
| 87 |
| 88 } |
OLD | NEW |