2004-12-09 06:16:15 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 15:12:37 +04:00
|
|
|
/* 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/. */
|
2004-12-09 06:16:15 +03:00
|
|
|
|
|
|
|
#include "nsIDOMSVGElement.idl"
|
|
|
|
|
|
|
|
interface nsIDOMSVGAnimatedLength;
|
|
|
|
interface nsIDOMSVGAnimatedEnumeration;
|
|
|
|
interface nsIDOMSVGAnimatedRect;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The nsIDOMSVGMarker interface is the interface to an SVG marker element.
|
|
|
|
*
|
|
|
|
* For more information on this interface please see
|
|
|
|
* http://www.w3.org/TR/SVG11/painting.html#InterfaceSVGMarkerElement
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2012-04-12 01:55:21 +04:00
|
|
|
[scriptable, uuid(0258F664-8251-4075-A0F5-F3D2170A913A)]
|
2004-12-09 06:16:15 +03:00
|
|
|
interface nsIDOMSVGMarkerElement
|
|
|
|
: 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.)
|
|
|
|
|
|
|
|
nsIDOMSVGLangSpace,
|
|
|
|
nsIDOMSVGExternalResourcesRequired,
|
|
|
|
nsIDOMSVGStylable,
|
|
|
|
nsIDOMSVGFitToViewBox
|
|
|
|
*/
|
|
|
|
{
|
|
|
|
// Marker Unit Types
|
|
|
|
const unsigned short SVG_MARKERUNITS_UNKNOWN = 0;
|
|
|
|
const unsigned short SVG_MARKERUNITS_USERSPACEONUSE = 1;
|
|
|
|
const unsigned short SVG_MARKERUNITS_STROKEWIDTH = 2;
|
|
|
|
// Marker Orientation Types
|
|
|
|
const unsigned short SVG_MARKER_ORIENT_UNKNOWN = 0;
|
|
|
|
const unsigned short SVG_MARKER_ORIENT_AUTO = 1;
|
|
|
|
const unsigned short SVG_MARKER_ORIENT_ANGLE = 2;
|
|
|
|
|
|
|
|
readonly attribute nsIDOMSVGAnimatedLength refX;
|
|
|
|
readonly attribute nsIDOMSVGAnimatedLength refY;
|
|
|
|
readonly attribute nsIDOMSVGAnimatedEnumeration markerUnits;
|
|
|
|
readonly attribute nsIDOMSVGAnimatedLength markerWidth;
|
|
|
|
readonly attribute nsIDOMSVGAnimatedLength markerHeight;
|
|
|
|
readonly attribute nsIDOMSVGAnimatedEnumeration orientType;
|
2012-12-23 08:54:23 +04:00
|
|
|
readonly attribute nsISupports orientAngle;
|
2004-12-09 06:16:15 +03:00
|
|
|
|
|
|
|
void setOrientToAuto ( );
|
2012-12-23 08:54:23 +04:00
|
|
|
void setOrientToAngle ( in nsISupports angle );
|
2004-12-09 06:16:15 +03:00
|
|
|
};
|