Bug 833446: Remove nsIDOMSVGPathElement r=peterv

This commit is contained in:
David Zbarsky 2013-02-02 15:23:17 -05:00
parent aa0585f8fc
commit d335c23042
6 changed files with 4 additions and 345 deletions

View File

@ -16,8 +16,6 @@
#include <algorithm>
#include "mozilla/dom/SVGPathElementBinding.h"
DOMCI_NODE_DATA(SVGPathElement, mozilla::dom::SVGPathElement)
NS_IMPL_NS_NEW_NAMESPACED_SVG_ELEMENT(Path)
namespace mozilla {
@ -35,15 +33,9 @@ nsSVGElement::NumberInfo SVGPathElement::sNumberInfo =
//----------------------------------------------------------------------
// nsISupports methods
NS_IMPL_ADDREF_INHERITED(SVGPathElement,SVGPathElementBase)
NS_IMPL_RELEASE_INHERITED(SVGPathElement,SVGPathElementBase)
NS_INTERFACE_TABLE_HEAD(SVGPathElement)
NS_NODE_INTERFACE_TABLE4(SVGPathElement, nsIDOMNode, nsIDOMElement,
nsIDOMSVGElement,
nsIDOMSVGPathElement)
NS_DOM_INTERFACE_MAP_ENTRY_CLASSINFO(SVGPathElement)
NS_INTERFACE_MAP_END_INHERITING(SVGPathElementBase)
NS_IMPL_ISUPPORTS_INHERITED3(SVGPathElement, SVGPathElementBase,
nsIDOMNode, nsIDOMElement,
nsIDOMSVGElement)
//----------------------------------------------------------------------
// Implementation
@ -59,17 +51,6 @@ SVGPathElement::SVGPathElement(already_AddRefed<nsINodeInfo> aNodeInfo)
NS_IMPL_ELEMENT_CLONE_WITH_INIT(SVGPathElement)
//----------------------------------------------------------------------
// nsIDOMSVGPathElement methods:
/* readonly attribute nsIDOMSVGAnimatedNumber pathLength; */
NS_IMETHODIMP
SVGPathElement::GetPathLength(nsIDOMSVGAnimatedNumber * *aPathLength)
{
*aPathLength = PathLength().get();
return NS_OK;
}
already_AddRefed<nsIDOMSVGAnimatedNumber>
SVGPathElement::PathLength()
{
@ -78,15 +59,6 @@ SVGPathElement::PathLength()
return number.forget();
}
/* float getTotalLength (); */
NS_IMETHODIMP
SVGPathElement::GetTotalLength(float *_retval)
{
ErrorResult rv;
*_retval = GetTotalLength(rv);
return rv.ErrorCode();
}
float
SVGPathElement::GetTotalLength(ErrorResult& rv)
{
@ -100,17 +72,6 @@ SVGPathElement::GetTotalLength(ErrorResult& rv)
return flat->GetLength();
}
/* DOMSVGPoint getPointAtLength (in float distance); */
NS_IMETHODIMP
SVGPathElement::GetPointAtLength(float distance, nsISupports **_retval)
{
NS_ENSURE_FINITE(distance, NS_ERROR_ILLEGAL_VALUE);
ErrorResult rv;
*_retval = GetPointAtLength(distance, rv).get();
return rv.ErrorCode();
}
already_AddRefed<nsISVGPoint>
SVGPathElement::GetPointAtLength(float distance, ErrorResult& rv)
{
@ -136,29 +97,12 @@ SVGPathElement::GetPointAtLength(float distance, ErrorResult& rv)
return point.forget();
}
/* unsigned long getPathSegAtLength (in float distance); */
NS_IMETHODIMP
SVGPathElement::GetPathSegAtLength(float distance, uint32_t *_retval)
{
NS_ENSURE_FINITE(distance, NS_ERROR_ILLEGAL_VALUE);
*_retval = GetPathSegAtLength(distance);
return NS_OK;
}
uint32_t
SVGPathElement::GetPathSegAtLength(float distance)
{
return mD.GetAnimValue().GetPathSegAtLength(distance);
}
/* nsISupports createSVGPathSegClosePath (); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegClosePath(nsISupports **_retval)
{
*_retval = CreateSVGPathSegClosePath().get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegClosePath>
SVGPathElement::CreateSVGPathSegClosePath()
{
@ -166,15 +110,6 @@ SVGPathElement::CreateSVGPathSegClosePath()
return pathSeg.forget();
}
/* nsISupports createSVGPathSegMovetoAbs (in float x, in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegMovetoAbs(float x, float y, nsISupports **_retval)
{
NS_ENSURE_FINITE2(x, y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegMovetoAbs(x, y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegMovetoAbs>
SVGPathElement::CreateSVGPathSegMovetoAbs(float x, float y)
{
@ -182,15 +117,6 @@ SVGPathElement::CreateSVGPathSegMovetoAbs(float x, float y)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegMovetoRel (in float x, in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegMovetoRel(float x, float y, nsISupports **_retval)
{
NS_ENSURE_FINITE2(x, y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegMovetoRel(x, y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegMovetoRel>
SVGPathElement::CreateSVGPathSegMovetoRel(float x, float y)
{
@ -198,15 +124,6 @@ SVGPathElement::CreateSVGPathSegMovetoRel(float x, float y)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegLinetoAbs (in float x, in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegLinetoAbs(float x, float y, nsISupports **_retval)
{
NS_ENSURE_FINITE2(x, y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegLinetoAbs(x, y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegLinetoAbs>
SVGPathElement::CreateSVGPathSegLinetoAbs(float x, float y)
{
@ -214,15 +131,6 @@ SVGPathElement::CreateSVGPathSegLinetoAbs(float x, float y)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegLinetoRel (in float x, in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegLinetoRel(float x, float y, nsISupports **_retval)
{
NS_ENSURE_FINITE2(x, y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegLinetoRel(x, y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegLinetoRel>
SVGPathElement::CreateSVGPathSegLinetoRel(float x, float y)
{
@ -230,15 +138,6 @@ SVGPathElement::CreateSVGPathSegLinetoRel(float x, float y)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoCubicAbs (in float x, in float y, in float x1, in float y1, in float x2, in float y2); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, nsISupports **_retval)
{
NS_ENSURE_FINITE6(x, y, x1, y1, x2, y2, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoCubicAbs(x, y, x1, y1, x2, y2).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoCubicAbs>
SVGPathElement::CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2)
{
@ -250,15 +149,6 @@ SVGPathElement::CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, floa
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoCubicRel (in float x, in float y, in float x1, in float y1, in float x2, in float y2); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, nsISupports **_retval)
{
NS_ENSURE_FINITE6(x, y, x1, y1, x2, y2, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoCubicRel(x, y, x1, y1, x2, y2).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoCubicRel>
SVGPathElement::CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2)
{
@ -268,15 +158,6 @@ SVGPathElement::CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, floa
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoQuadraticAbs (in float x, in float y, in float x1, in float y1); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, nsISupports **_retval)
{
NS_ENSURE_FINITE4(x, y, x1, y1, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoQuadraticAbs(x, y, x1, y1).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoQuadraticAbs>
SVGPathElement::CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1)
{
@ -286,15 +167,6 @@ SVGPathElement::CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1,
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoQuadraticRel (in float x, in float y, in float x1, in float y1); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, nsISupports **_retval)
{
NS_ENSURE_FINITE4(x, y, x1, y1, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoQuadraticRel(x, y, x1, y1).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoQuadraticRel>
SVGPathElement::CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1)
{
@ -304,15 +176,6 @@ SVGPathElement::CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1,
return pathSeg.forget();
}
/* nsISupports createSVGPathSegArcAbs (in float x, in float y, in float r1, in float r2, in float angle, in boolean largeArcFlag, in boolean sweepFlag); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsISupports **_retval)
{
NS_ENSURE_FINITE5(x, y, r1, r2, angle, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegArcAbs(x, y, r1, r2, angle, largeArcFlag, sweepFlag).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegArcAbs>
SVGPathElement::CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
{
@ -322,15 +185,6 @@ SVGPathElement::CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, flo
return pathSeg.forget();
}
/* nsISupports createSVGPathSegArcRel (in float x, in float y, in float r1, in float r2, in float angle, in boolean largeArcFlag, in boolean sweepFlag); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsISupports **_retval)
{
NS_ENSURE_FINITE5(x, y, r1, r2, angle, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegArcRel(x, y, r1, r2, angle, largeArcFlag, sweepFlag).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegArcRel>
SVGPathElement::CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
{
@ -340,15 +194,6 @@ SVGPathElement::CreateSVGPathSegArcRel(float x, float y, float r1, float r2, flo
return pathSeg.forget();
}
/* nsISupports createSVGPathSegLinetoHorizontalAbs (in float x); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegLinetoHorizontalAbs(float x, nsISupports **_retval)
{
NS_ENSURE_FINITE(x, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegLinetoHorizontalAbs(x).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegLinetoHorizontalAbs>
SVGPathElement::CreateSVGPathSegLinetoHorizontalAbs(float x)
{
@ -357,15 +202,6 @@ SVGPathElement::CreateSVGPathSegLinetoHorizontalAbs(float x)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegLinetoHorizontalRel (in float x); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegLinetoHorizontalRel(float x, nsISupports **_retval)
{
NS_ENSURE_FINITE(x, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegLinetoHorizontalRel(x).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegLinetoHorizontalRel>
SVGPathElement::CreateSVGPathSegLinetoHorizontalRel(float x)
{
@ -374,15 +210,6 @@ SVGPathElement::CreateSVGPathSegLinetoHorizontalRel(float x)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegLinetoVerticalAbs (in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegLinetoVerticalAbs(float y, nsISupports **_retval)
{
NS_ENSURE_FINITE(y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegLinetoVerticalAbs(y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegLinetoVerticalAbs>
SVGPathElement::CreateSVGPathSegLinetoVerticalAbs(float y)
{
@ -391,15 +218,6 @@ SVGPathElement::CreateSVGPathSegLinetoVerticalAbs(float y)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegLinetoVerticalRel (in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegLinetoVerticalRel(float y, nsISupports **_retval)
{
NS_ENSURE_FINITE(y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegLinetoVerticalRel(y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegLinetoVerticalRel>
SVGPathElement::CreateSVGPathSegLinetoVerticalRel(float y)
{
@ -408,15 +226,6 @@ SVGPathElement::CreateSVGPathSegLinetoVerticalRel(float y)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoCubicSmoothAbs (in float x, in float y, in float x2, in float y2); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, nsISupports **_retval)
{
NS_ENSURE_FINITE4(x, y, x2, y2, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoCubicSmoothAbs(x, y, x2, y2).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoCubicSmoothAbs>
SVGPathElement::CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2)
{
@ -426,15 +235,6 @@ SVGPathElement::CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoCubicSmoothRel (in float x, in float y, in float x2, in float y2); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, nsISupports **_retval)
{
NS_ENSURE_FINITE4(x, y, x2, y2, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoCubicSmoothRel(x, y, x2, y2).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoCubicSmoothRel>
SVGPathElement::CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2)
{
@ -444,15 +244,6 @@ SVGPathElement::CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoQuadraticSmoothAbs (in float x, in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, nsISupports **_retval)
{
NS_ENSURE_FINITE2(x, y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoQuadraticSmoothAbs(x, y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoQuadraticSmoothAbs>
SVGPathElement::CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y)
{
@ -461,15 +252,6 @@ SVGPathElement::CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y)
return pathSeg.forget();
}
/* nsISupports createSVGPathSegCurvetoQuadraticSmoothRel (in float x, in float y); */
NS_IMETHODIMP
SVGPathElement::CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, nsISupports **_retval)
{
NS_ENSURE_FINITE2(x, y, NS_ERROR_ILLEGAL_VALUE);
*_retval = CreateSVGPathSegCurvetoQuadraticSmoothRel(x, y).get();
return NS_OK;
}
already_AddRefed<DOMSVGPathSegCurvetoQuadraticSmoothRel>
SVGPathElement::CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y)
{

View File

@ -6,7 +6,6 @@
#ifndef mozilla_dom_SVGPathElement_h
#define mozilla_dom_SVGPathElement_h
#include "nsIDOMSVGPathElement.h"
#include "nsSVGNumber2.h"
#include "nsSVGPathGeometryElement.h"
#include "SVGAnimatedPathSegList.h"
@ -26,7 +25,7 @@ class nsISVGPoint;
namespace dom {
class SVGPathElement MOZ_FINAL : public SVGPathElementBase,
public nsIDOMSVGPathElement
public nsIDOMSVGElement
{
friend class nsSVGPathFrame;
@ -41,7 +40,6 @@ public:
// interfaces:
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIDOMSVGPATHELEMENT
// xxx I wish we could use virtual inheritance
NS_FORWARD_NSIDOMNODE_TO_NSINODE
@ -65,8 +63,6 @@ public:
// nsIContent interface
virtual nsresult Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const;
virtual nsXPCClassInfo* GetClassInfo();
virtual nsIDOMNode* AsDOMNode() { return this; }
virtual SVGAnimatedPathSegList* GetAnimPathSegList() {

View File

@ -328,7 +328,6 @@
#include "nsIDOMSVGMarkerElement.h"
#include "nsIDOMSVGMaskElement.h"
#include "nsIDOMSVGNumber.h"
#include "nsIDOMSVGPathElement.h"
#include "nsIDOMSVGPatternElement.h"
#include "nsIDOMSVGPolygonElement.h"
#include "nsIDOMSVGPolylineElement.h"
@ -1116,8 +1115,6 @@ static nsDOMClassInfoData sClassInfoData[] = {
ELEMENT_SCRIPTABLE_FLAGS)
NS_DEFINE_CLASSINFO_DATA(SVGMaskElement, nsElementSH,
ELEMENT_SCRIPTABLE_FLAGS)
NS_DEFINE_CLASSINFO_DATA(SVGPathElement, nsElementSH,
ELEMENT_SCRIPTABLE_FLAGS)
NS_DEFINE_CLASSINFO_DATA(SVGPatternElement, nsElementSH,
ELEMENT_SCRIPTABLE_FLAGS)
NS_DEFINE_CLASSINFO_DATA(SVGPolygonElement, nsElementSH,
@ -3138,11 +3135,6 @@ nsDOMClassInfo::Init()
DOM_CLASSINFO_SVG_ELEMENT_MAP_ENTRIES
DOM_CLASSINFO_MAP_END
DOM_CLASSINFO_MAP_BEGIN(SVGPathElement, nsIDOMSVGPathElement)
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGPathElement)
DOM_CLASSINFO_SVG_GRAPHIC_ELEMENT_MAP_ENTRIES
DOM_CLASSINFO_MAP_END
DOM_CLASSINFO_MAP_BEGIN(SVGPatternElement, nsIDOMSVGPatternElement)
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGPatternElement)
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGURIReference)

View File

@ -222,7 +222,6 @@ DOMCI_CLASS(SVGFilterElement)
DOMCI_CLASS(SVGImageElement)
DOMCI_CLASS(SVGMarkerElement)
DOMCI_CLASS(SVGMaskElement)
DOMCI_CLASS(SVGPathElement)
DOMCI_CLASS(SVGPatternElement)
DOMCI_CLASS(SVGPolygonElement)
DOMCI_CLASS(SVGPolylineElement)

View File

@ -35,7 +35,6 @@ XPIDLSRCS = \
nsIDOMSVGMarkerElement.idl \
nsIDOMSVGMaskElement.idl \
nsIDOMSVGNumber.idl \
nsIDOMSVGPathElement.idl \
nsIDOMSVGPatternElement.idl \
nsIDOMSVGPolygonElement.idl \
nsIDOMSVGPolylineElement.idl \

View File

@ -1,109 +0,0 @@
/* -*- 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"
interface nsIDOMSVGAnimatedNumber;
[scriptable, uuid(89AF3EAE-1703-461A-A2E0-86D2131C11AC)]
interface nsIDOMSVGPathElement
: 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.)
nsIDOMSVGTests,
nsIDOMSVGLangSpace,
nsIDOMSVGExternalResourcesRequired,
nsIDOMSVGStylable,
nsIDOMSVGTransformable,
events::nsIDOMEventTarget,
nsIDOMSVGAnimatedPathData
*/
{
readonly attribute nsIDOMSVGAnimatedNumber pathLength;
float getTotalLength();
// SVGPoint
nsISupports getPointAtLength(in float distance);
unsigned long getPathSegAtLength(in float distance);
// SVGPathSegClosePath
nsISupports createSVGPathSegClosePath();
// SVGPathSegMoveToAbs
nsISupports createSVGPathSegMovetoAbs(in float x, in float y);
// SVGPathSegMoveToRel
nsISupports createSVGPathSegMovetoRel(in float x, in float y);
// SVGPathSegLineToAbs
nsISupports createSVGPathSegLinetoAbs(in float x, in float y);
// SVGPathSegLineToRel
nsISupports createSVGPathSegLinetoRel(in float x, in float y);
// SVGPathSegCurveToCubicAbs
nsISupports createSVGPathSegCurvetoCubicAbs(in float x,
in float y,
in float x1,
in float y1,
in float x2,
in float y2);
// SVGPathSegCurveToCubicRel
nsISupports createSVGPathSegCurvetoCubicRel(in float x,
in float y,
in float x1,
in float y1,
in float x2,
in float y2);
// SVGPathSegCurveToQuadraticAbs
nsISupports createSVGPathSegCurvetoQuadraticAbs(in float x,
in float y,
in float x1,
in float y1);
// SVGPathSegCurveToQuadraticRel
nsISupports createSVGPathSegCurvetoQuadraticRel(in float x,
in float y,
in float x1,
in float y1);
// SVGPathSegArcAbs
nsISupports createSVGPathSegArcAbs(in float x, in float y, in float r1,
in float r2, in float angle,
in boolean largeArcFlag,
in boolean sweepFlag);
// SVGPathSegArcRel
nsISupports createSVGPathSegArcRel(in float x, in float y, in float r1,
in float r2, in float angle,
in boolean largeArcFlag,
in boolean sweepFlag);
// SVGPathSegLineToHorizontalAbs
nsISupports createSVGPathSegLinetoHorizontalAbs(in float x);
// SVGPathSegLineToHorizontalRel
nsISupports createSVGPathSegLinetoHorizontalRel(in float x);
// SVGPathSegLineToVerticalAbs
nsISupports createSVGPathSegLinetoVerticalAbs(in float y);
// SVGPathSegLineToVerticalRel
nsISupports createSVGPathSegLinetoVerticalRel(in float y);
// SVGPathSegCurveToCubicSmoothAbs
nsISupports createSVGPathSegCurvetoCubicSmoothAbs(in float x,
in float y,
in float x2,
in float y2);
// SVGPathSegCurveToCubicSmoothRel
nsISupports createSVGPathSegCurvetoCubicSmoothRel(in float x,
in float y,
in float x2,
in float y2);
// SVGPathSegCurveToQuadraticSmoothAbs
nsISupports createSVGPathSegCurvetoQuadraticSmoothAbs(in float x,
in float y);
// SVGPathSegCurveToQuadraticSmoothRel
nsISupports createSVGPathSegCurvetoQuadraticSmoothRel(in float x,
in float y);
};