00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 #include "nsIDOMSVGElement.idl"
00040
00041 interface nsIDOMSVGAnimatedNumber;
00042 interface nsIDOMSVGPoint;
00043 interface nsIDOMSVGPathSegClosePath;
00044 interface nsIDOMSVGPathSegMovetoAbs;
00045 interface nsIDOMSVGPathSegMovetoRel;
00046 interface nsIDOMSVGPathSegLinetoAbs;
00047 interface nsIDOMSVGPathSegLinetoRel;
00048 interface nsIDOMSVGPathSegCurvetoCubicAbs;
00049 interface nsIDOMSVGPathSegCurvetoCubicRel;
00050 interface nsIDOMSVGPathSegCurvetoQuadraticAbs;
00051 interface nsIDOMSVGPathSegCurvetoQuadraticRel;
00052 interface nsIDOMSVGPathSegArcAbs;
00053 interface nsIDOMSVGPathSegArcRel;
00054 interface nsIDOMSVGPathSegLinetoHorizontalAbs;
00055 interface nsIDOMSVGPathSegLinetoHorizontalRel;
00056 interface nsIDOMSVGPathSegLinetoVerticalAbs;
00057 interface nsIDOMSVGPathSegLinetoVerticalRel;
00058 interface nsIDOMSVGPathSegCurvetoCubicSmoothAbs;
00059 interface nsIDOMSVGPathSegCurvetoCubicSmoothRel;
00060 interface nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs;
00061 interface nsIDOMSVGPathSegCurvetoQuadraticSmoothRel;
00062
00063 [scriptable, uuid(2b19e692-3338-440f-a998-3cb1e8474999)]
00064 interface nsIDOMSVGPathElement
00065 : nsIDOMSVGElement
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082 {
00083 readonly attribute nsIDOMSVGAnimatedNumber pathLength;
00084
00085 float getTotalLength();
00086 nsIDOMSVGPoint getPointAtLength(in float distance);
00087 unsigned long getPathSegAtLength(in float distance);
00088
00089 nsIDOMSVGPathSegClosePath createSVGPathSegClosePath();
00090 nsIDOMSVGPathSegMovetoAbs createSVGPathSegMovetoAbs(in float x, in float y);
00091 nsIDOMSVGPathSegMovetoRel createSVGPathSegMovetoRel(in float x, in float y);
00092 nsIDOMSVGPathSegLinetoAbs createSVGPathSegLinetoAbs(in float x, in float y);
00093 nsIDOMSVGPathSegLinetoRel createSVGPathSegLinetoRel(in float x, in float y);
00094
00095 nsIDOMSVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(in float x,
00096 in float y,
00097 in float x1,
00098 in float y1,
00099 in float x2,
00100 in float y2);
00101 nsIDOMSVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(in float x,
00102 in float y,
00103 in float x1,
00104 in float y1,
00105 in float x2,
00106 in float y2);
00107 nsIDOMSVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(in float x,
00108 in float y,
00109 in float x1,
00110 in float y1);
00111 nsIDOMSVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(in float x,
00112 in float y,
00113 in float x1,
00114 in float y1);
00115
00116 nsIDOMSVGPathSegArcAbs createSVGPathSegArcAbs(in float x, in float y, in float r1,
00117 in float r2, in float angle,
00118 in boolean largeArcFlag,
00119 in boolean sweepFlag);
00120 nsIDOMSVGPathSegArcRel createSVGPathSegArcRel(in float x, in float y, in float r1,
00121 in float r2, in float angle,
00122 in boolean largeArcFlag,
00123 in boolean sweepFlag);
00124
00125 nsIDOMSVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(in float x);
00126 nsIDOMSVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(in float x);
00127 nsIDOMSVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(in float y);
00128 nsIDOMSVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(in float y);
00129
00130 nsIDOMSVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(in float x,
00131 in float y,
00132 in float x2,
00133 in float y2);
00134 nsIDOMSVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(in float x,
00135 in float y,
00136 in float x2,
00137 in float y2);
00138 nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(in float x,
00139 in float y);
00140 nsIDOMSVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(in float x,
00141 in float y);
00142 };