gecko/dom/interfaces/svg/nsIDOMSVGPatternElement.idl
2012-05-21 12:12:37 +01:00

50 lines
1.8 KiB
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIDOMSVGElement.idl"
/**
* The nsIDOMSVGPatternElement interface is the interface to an SVG
* pattern element.
*
* For more information on this interface please see
* http://www.w3.org/TR/SVG11/pservers.html
*
*/
interface nsIDOMSVGAnimatedEnumeration;
interface nsIDOMSVGAnimatedTransformList;
interface nsIDOMSVGAnimatedLength;
[scriptable, uuid(A8D23223-A3DA-46DB-87F0-EA6BBCF4A7DD)]
interface nsIDOMSVGPatternElement
: nsIDOMSVGElement
/*
The SVG DOM makes use of multiple interface inheritance.
Since XPCOM only supports single interface inheritance,
the best thing that we can do is to promise that whenever
an object implements _this_ interface it will also
implement the following interfaces. (We then have to QI to
hop between them.)
nsIDOMSVGURIReference,
?SVGTests,
?SVGLangSpace,
?SVGExternalResourcesRequired,
nsIDOMSVGStylable,
nsIDOMSVGFitToViewBox,
SVGUnitTypes
*/
{
readonly attribute nsIDOMSVGAnimatedEnumeration patternUnits;
readonly attribute nsIDOMSVGAnimatedEnumeration patternContentUnits;
readonly attribute nsIDOMSVGAnimatedTransformList patternTransform;
readonly attribute nsIDOMSVGAnimatedLength x;
readonly attribute nsIDOMSVGAnimatedLength y;
readonly attribute nsIDOMSVGAnimatedLength width;
readonly attribute nsIDOMSVGAnimatedLength height;
};