dom/webidl/SVGSVGElement.webidl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
michael@0 4 * You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 5 *
michael@0 6 * The origin of this IDL file is
michael@0 7 * http://www.w3.org/TR/SVG2/
michael@0 8 *
michael@0 9 * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
michael@0 10 * liability, trademark and document use rules apply.
michael@0 11 */
michael@0 12
michael@0 13 interface SVGViewSpec;
michael@0 14
michael@0 15 interface SVGSVGElement : SVGGraphicsElement {
michael@0 16
michael@0 17 readonly attribute SVGAnimatedLength x;
michael@0 18 readonly attribute SVGAnimatedLength y;
michael@0 19 readonly attribute SVGAnimatedLength width;
michael@0 20 readonly attribute SVGAnimatedLength height;
michael@0 21 // readonly attribute SVGRect viewport;
michael@0 22 readonly attribute float pixelUnitToMillimeterX;
michael@0 23 readonly attribute float pixelUnitToMillimeterY;
michael@0 24 readonly attribute float screenPixelToMillimeterX;
michael@0 25 readonly attribute float screenPixelToMillimeterY;
michael@0 26 readonly attribute boolean useCurrentView;
michael@0 27 // readonly attribute SVGViewSpec currentView;
michael@0 28 attribute float currentScale;
michael@0 29 readonly attribute SVGPoint currentTranslate;
michael@0 30
michael@0 31 unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
michael@0 32 void unsuspendRedraw(unsigned long suspendHandleID);
michael@0 33 void unsuspendRedrawAll();
michael@0 34 [Throws]
michael@0 35 void forceRedraw();
michael@0 36 void pauseAnimations();
michael@0 37 void unpauseAnimations();
michael@0 38 boolean animationsPaused();
michael@0 39 float getCurrentTime();
michael@0 40 void setCurrentTime(float seconds);
michael@0 41 // NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement);
michael@0 42 // NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement);
michael@0 43 // boolean checkIntersection(SVGElement element, SVGRect rect);
michael@0 44 // boolean checkEnclosure(SVGElement element, SVGRect rect);
michael@0 45 void deselectAll();
michael@0 46 [NewObject]
michael@0 47 SVGNumber createSVGNumber();
michael@0 48 [NewObject]
michael@0 49 SVGLength createSVGLength();
michael@0 50 [NewObject]
michael@0 51 SVGAngle createSVGAngle();
michael@0 52 [NewObject]
michael@0 53 SVGPoint createSVGPoint();
michael@0 54 [NewObject]
michael@0 55 SVGMatrix createSVGMatrix();
michael@0 56 [NewObject]
michael@0 57 SVGRect createSVGRect();
michael@0 58 [NewObject]
michael@0 59 SVGTransform createSVGTransform();
michael@0 60 [NewObject]
michael@0 61 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix);
michael@0 62 Element? getElementById(DOMString elementId);
michael@0 63 };
michael@0 64
michael@0 65 /*SVGSVGElement implements ViewCSS;
michael@0 66 SVGSVGElement implements DocumentCSS;*/
michael@0 67 SVGSVGElement implements SVGFitToViewBox;
michael@0 68 SVGSVGElement implements SVGZoomAndPan;
michael@0 69

mercurial