LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMSVGPathElement.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGPathElement.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMSVGPathElement_h__
       6                 : #define __gen_nsIDOMSVGPathElement_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMSVGElement_h__
      10                 : #include "nsIDOMSVGElement.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIDOMSVGAnimatedNumber; /* forward declaration */
      18                 : 
      19                 : class nsIDOMSVGPoint; /* forward declaration */
      20                 : 
      21                 : class nsIDOMSVGPathSegClosePath; /* forward declaration */
      22                 : 
      23                 : class nsIDOMSVGPathSegMovetoAbs; /* forward declaration */
      24                 : 
      25                 : class nsIDOMSVGPathSegMovetoRel; /* forward declaration */
      26                 : 
      27                 : class nsIDOMSVGPathSegLinetoAbs; /* forward declaration */
      28                 : 
      29                 : class nsIDOMSVGPathSegLinetoRel; /* forward declaration */
      30                 : 
      31                 : class nsIDOMSVGPathSegCurvetoCubicAbs; /* forward declaration */
      32                 : 
      33                 : class nsIDOMSVGPathSegCurvetoCubicRel; /* forward declaration */
      34                 : 
      35                 : class nsIDOMSVGPathSegCurvetoQuadraticAbs; /* forward declaration */
      36                 : 
      37                 : class nsIDOMSVGPathSegCurvetoQuadraticRel; /* forward declaration */
      38                 : 
      39                 : class nsIDOMSVGPathSegArcAbs; /* forward declaration */
      40                 : 
      41                 : class nsIDOMSVGPathSegArcRel; /* forward declaration */
      42                 : 
      43                 : class nsIDOMSVGPathSegLinetoHorizontalAbs; /* forward declaration */
      44                 : 
      45                 : class nsIDOMSVGPathSegLinetoHorizontalRel; /* forward declaration */
      46                 : 
      47                 : class nsIDOMSVGPathSegLinetoVerticalAbs; /* forward declaration */
      48                 : 
      49                 : class nsIDOMSVGPathSegLinetoVerticalRel; /* forward declaration */
      50                 : 
      51                 : class nsIDOMSVGPathSegCurvetoCubicSmoothAbs; /* forward declaration */
      52                 : 
      53                 : class nsIDOMSVGPathSegCurvetoCubicSmoothRel; /* forward declaration */
      54                 : 
      55                 : class nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs; /* forward declaration */
      56                 : 
      57                 : class nsIDOMSVGPathSegCurvetoQuadraticSmoothRel; /* forward declaration */
      58                 : 
      59                 : 
      60                 : /* starting interface:    nsIDOMSVGPathElement */
      61                 : #define NS_IDOMSVGPATHELEMENT_IID_STR "906f82c7-c632-4b1f-9dfd-3905b9080935"
      62                 : 
      63                 : #define NS_IDOMSVGPATHELEMENT_IID \
      64                 :   {0x906f82c7, 0xc632, 0x4b1f, \
      65                 :     { 0x9d, 0xfd, 0x39, 0x05, 0xb9, 0x08, 0x09, 0x35 }}
      66                 : 
      67               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGPathElement : public nsIDOMSVGElement {
      68                 :  public: 
      69                 : 
      70                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGPATHELEMENT_IID)
      71                 : 
      72                 :   /* readonly attribute nsIDOMSVGAnimatedNumber pathLength; */
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetPathLength(nsIDOMSVGAnimatedNumber * *aPathLength) = 0;
      74                 : 
      75                 :   /* float getTotalLength (); */
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalLength(float *_retval NS_OUTPARAM) = 0;
      77                 : 
      78                 :   /* nsIDOMSVGPoint getPointAtLength (in float distance); */
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetPointAtLength(float distance, nsIDOMSVGPoint * *_retval NS_OUTPARAM) = 0;
      80                 : 
      81                 :   /* unsigned long getPathSegAtLength (in float distance); */
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetPathSegAtLength(float distance, PRUint32 *_retval NS_OUTPARAM) = 0;
      83                 : 
      84                 :   /* nsIDOMSVGPathSegClosePath createSVGPathSegClosePath (); */
      85                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegClosePath(nsIDOMSVGPathSegClosePath * *_retval NS_OUTPARAM) = 0;
      86                 : 
      87                 :   /* nsIDOMSVGPathSegMovetoAbs createSVGPathSegMovetoAbs (in float x, in float y); */
      88                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoAbs(float x, float y, nsIDOMSVGPathSegMovetoAbs * *_retval NS_OUTPARAM) = 0;
      89                 : 
      90                 :   /* nsIDOMSVGPathSegMovetoRel createSVGPathSegMovetoRel (in float x, in float y); */
      91                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoRel(float x, float y, nsIDOMSVGPathSegMovetoRel * *_retval NS_OUTPARAM) = 0;
      92                 : 
      93                 :   /* nsIDOMSVGPathSegLinetoAbs createSVGPathSegLinetoAbs (in float x, in float y); */
      94                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoAbs(float x, float y, nsIDOMSVGPathSegLinetoAbs * *_retval NS_OUTPARAM) = 0;
      95                 : 
      96                 :   /* nsIDOMSVGPathSegLinetoRel createSVGPathSegLinetoRel (in float x, in float y); */
      97                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoRel(float x, float y, nsIDOMSVGPathSegLinetoRel * *_retval NS_OUTPARAM) = 0;
      98                 : 
      99                 :   /* nsIDOMSVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs (in float x, in float y, in float x1, in float y1, in float x2, in float y2); */
     100                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicAbs * *_retval NS_OUTPARAM) = 0;
     101                 : 
     102                 :   /* nsIDOMSVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel (in float x, in float y, in float x1, in float y1, in float x2, in float y2); */
     103                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicRel * *_retval NS_OUTPARAM) = 0;
     104                 : 
     105                 :   /* nsIDOMSVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs (in float x, in float y, in float x1, in float y1); */
     106                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticAbs * *_retval NS_OUTPARAM) = 0;
     107                 : 
     108                 :   /* nsIDOMSVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel (in float x, in float y, in float x1, in float y1); */
     109                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticRel * *_retval NS_OUTPARAM) = 0;
     110                 : 
     111                 :   /* nsIDOMSVGPathSegArcAbs createSVGPathSegArcAbs (in float x, in float y, in float r1, in float r2, in float angle, in boolean largeArcFlag, in boolean sweepFlag); */
     112                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcAbs * *_retval NS_OUTPARAM) = 0;
     113                 : 
     114                 :   /* nsIDOMSVGPathSegArcRel createSVGPathSegArcRel (in float x, in float y, in float r1, in float r2, in float angle, in boolean largeArcFlag, in boolean sweepFlag); */
     115                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcRel * *_retval NS_OUTPARAM) = 0;
     116                 : 
     117                 :   /* nsIDOMSVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs (in float x); */
     118                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalAbs(float x, nsIDOMSVGPathSegLinetoHorizontalAbs * *_retval NS_OUTPARAM) = 0;
     119                 : 
     120                 :   /* nsIDOMSVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel (in float x); */
     121                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalRel(float x, nsIDOMSVGPathSegLinetoHorizontalRel * *_retval NS_OUTPARAM) = 0;
     122                 : 
     123                 :   /* nsIDOMSVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs (in float y); */
     124                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalAbs(float y, nsIDOMSVGPathSegLinetoVerticalAbs * *_retval NS_OUTPARAM) = 0;
     125                 : 
     126                 :   /* nsIDOMSVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel (in float y); */
     127                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalRel(float y, nsIDOMSVGPathSegLinetoVerticalRel * *_retval NS_OUTPARAM) = 0;
     128                 : 
     129                 :   /* nsIDOMSVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs (in float x, in float y, in float x2, in float y2); */
     130                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothAbs * *_retval NS_OUTPARAM) = 0;
     131                 : 
     132                 :   /* nsIDOMSVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel (in float x, in float y, in float x2, in float y2); */
     133                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothRel * *_retval NS_OUTPARAM) = 0;
     134                 : 
     135                 :   /* nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs (in float x, in float y); */
     136                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs * *_retval NS_OUTPARAM) = 0;
     137                 : 
     138                 :   /* nsIDOMSVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel (in float x, in float y); */
     139                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothRel * *_retval NS_OUTPARAM) = 0;
     140                 : 
     141                 : };
     142                 : 
     143                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGPathElement, NS_IDOMSVGPATHELEMENT_IID)
     144                 : 
     145                 : /* Use this macro when declaring classes that implement this interface. */
     146                 : #define NS_DECL_NSIDOMSVGPATHELEMENT \
     147                 :   NS_SCRIPTABLE NS_IMETHOD GetPathLength(nsIDOMSVGAnimatedNumber * *aPathLength); \
     148                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalLength(float *_retval NS_OUTPARAM); \
     149                 :   NS_SCRIPTABLE NS_IMETHOD GetPointAtLength(float distance, nsIDOMSVGPoint * *_retval NS_OUTPARAM); \
     150                 :   NS_SCRIPTABLE NS_IMETHOD GetPathSegAtLength(float distance, PRUint32 *_retval NS_OUTPARAM); \
     151                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegClosePath(nsIDOMSVGPathSegClosePath * *_retval NS_OUTPARAM); \
     152                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoAbs(float x, float y, nsIDOMSVGPathSegMovetoAbs * *_retval NS_OUTPARAM); \
     153                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoRel(float x, float y, nsIDOMSVGPathSegMovetoRel * *_retval NS_OUTPARAM); \
     154                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoAbs(float x, float y, nsIDOMSVGPathSegLinetoAbs * *_retval NS_OUTPARAM); \
     155                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoRel(float x, float y, nsIDOMSVGPathSegLinetoRel * *_retval NS_OUTPARAM); \
     156                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicAbs * *_retval NS_OUTPARAM); \
     157                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicRel * *_retval NS_OUTPARAM); \
     158                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticAbs * *_retval NS_OUTPARAM); \
     159                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticRel * *_retval NS_OUTPARAM); \
     160                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcAbs * *_retval NS_OUTPARAM); \
     161                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcRel * *_retval NS_OUTPARAM); \
     162                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalAbs(float x, nsIDOMSVGPathSegLinetoHorizontalAbs * *_retval NS_OUTPARAM); \
     163                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalRel(float x, nsIDOMSVGPathSegLinetoHorizontalRel * *_retval NS_OUTPARAM); \
     164                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalAbs(float y, nsIDOMSVGPathSegLinetoVerticalAbs * *_retval NS_OUTPARAM); \
     165                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalRel(float y, nsIDOMSVGPathSegLinetoVerticalRel * *_retval NS_OUTPARAM); \
     166                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothAbs * *_retval NS_OUTPARAM); \
     167                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothRel * *_retval NS_OUTPARAM); \
     168                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs * *_retval NS_OUTPARAM); \
     169                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothRel * *_retval NS_OUTPARAM); 
     170                 : 
     171                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     172                 : #define NS_FORWARD_NSIDOMSVGPATHELEMENT(_to) \
     173                 :   NS_SCRIPTABLE NS_IMETHOD GetPathLength(nsIDOMSVGAnimatedNumber * *aPathLength) { return _to GetPathLength(aPathLength); } \
     174                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalLength(float *_retval NS_OUTPARAM) { return _to GetTotalLength(_retval); } \
     175                 :   NS_SCRIPTABLE NS_IMETHOD GetPointAtLength(float distance, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return _to GetPointAtLength(distance, _retval); } \
     176                 :   NS_SCRIPTABLE NS_IMETHOD GetPathSegAtLength(float distance, PRUint32 *_retval NS_OUTPARAM) { return _to GetPathSegAtLength(distance, _retval); } \
     177                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegClosePath(nsIDOMSVGPathSegClosePath * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegClosePath(_retval); } \
     178                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoAbs(float x, float y, nsIDOMSVGPathSegMovetoAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegMovetoAbs(x, y, _retval); } \
     179                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoRel(float x, float y, nsIDOMSVGPathSegMovetoRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegMovetoRel(x, y, _retval); } \
     180                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoAbs(float x, float y, nsIDOMSVGPathSegLinetoAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegLinetoAbs(x, y, _retval); } \
     181                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoRel(float x, float y, nsIDOMSVGPathSegLinetoRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegLinetoRel(x, y, _retval); } \
     182                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoCubicAbs(x, y, x1, y1, x2, y2, _retval); } \
     183                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoCubicRel(x, y, x1, y1, x2, y2, _retval); } \
     184                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoQuadraticAbs(x, y, x1, y1, _retval); } \
     185                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoQuadraticRel(x, y, x1, y1, _retval); } \
     186                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegArcAbs(x, y, r1, r2, angle, largeArcFlag, sweepFlag, _retval); } \
     187                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegArcRel(x, y, r1, r2, angle, largeArcFlag, sweepFlag, _retval); } \
     188                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalAbs(float x, nsIDOMSVGPathSegLinetoHorizontalAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegLinetoHorizontalAbs(x, _retval); } \
     189                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalRel(float x, nsIDOMSVGPathSegLinetoHorizontalRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegLinetoHorizontalRel(x, _retval); } \
     190                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalAbs(float y, nsIDOMSVGPathSegLinetoVerticalAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegLinetoVerticalAbs(y, _retval); } \
     191                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalRel(float y, nsIDOMSVGPathSegLinetoVerticalRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegLinetoVerticalRel(y, _retval); } \
     192                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoCubicSmoothAbs(x, y, x2, y2, _retval); } \
     193                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoCubicSmoothRel(x, y, x2, y2, _retval); } \
     194                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoQuadraticSmoothAbs(x, y, _retval); } \
     195                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothRel * *_retval NS_OUTPARAM) { return _to CreateSVGPathSegCurvetoQuadraticSmoothRel(x, y, _retval); } 
     196                 : 
     197                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     198                 : #define NS_FORWARD_SAFE_NSIDOMSVGPATHELEMENT(_to) \
     199                 :   NS_SCRIPTABLE NS_IMETHOD GetPathLength(nsIDOMSVGAnimatedNumber * *aPathLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPathLength(aPathLength); } \
     200                 :   NS_SCRIPTABLE NS_IMETHOD GetTotalLength(float *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTotalLength(_retval); } \
     201                 :   NS_SCRIPTABLE NS_IMETHOD GetPointAtLength(float distance, nsIDOMSVGPoint * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPointAtLength(distance, _retval); } \
     202                 :   NS_SCRIPTABLE NS_IMETHOD GetPathSegAtLength(float distance, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPathSegAtLength(distance, _retval); } \
     203                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegClosePath(nsIDOMSVGPathSegClosePath * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegClosePath(_retval); } \
     204                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoAbs(float x, float y, nsIDOMSVGPathSegMovetoAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegMovetoAbs(x, y, _retval); } \
     205                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegMovetoRel(float x, float y, nsIDOMSVGPathSegMovetoRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegMovetoRel(x, y, _retval); } \
     206                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoAbs(float x, float y, nsIDOMSVGPathSegLinetoAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegLinetoAbs(x, y, _retval); } \
     207                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoRel(float x, float y, nsIDOMSVGPathSegLinetoRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegLinetoRel(x, y, _retval); } \
     208                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoCubicAbs(x, y, x1, y1, x2, y2, _retval); } \
     209                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoCubicRel(x, y, x1, y1, x2, y2, _retval); } \
     210                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoQuadraticAbs(x, y, x1, y1, _retval); } \
     211                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoQuadraticRel(x, y, x1, y1, _retval); } \
     212                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegArcAbs(x, y, r1, r2, angle, largeArcFlag, sweepFlag, _retval); } \
     213                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegArcRel(x, y, r1, r2, angle, largeArcFlag, sweepFlag, _retval); } \
     214                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalAbs(float x, nsIDOMSVGPathSegLinetoHorizontalAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegLinetoHorizontalAbs(x, _retval); } \
     215                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoHorizontalRel(float x, nsIDOMSVGPathSegLinetoHorizontalRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegLinetoHorizontalRel(x, _retval); } \
     216                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalAbs(float y, nsIDOMSVGPathSegLinetoVerticalAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegLinetoVerticalAbs(y, _retval); } \
     217                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegLinetoVerticalRel(float y, nsIDOMSVGPathSegLinetoVerticalRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegLinetoVerticalRel(y, _retval); } \
     218                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoCubicSmoothAbs(x, y, x2, y2, _retval); } \
     219                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoCubicSmoothRel(x, y, x2, y2, _retval); } \
     220                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoQuadraticSmoothAbs(x, y, _retval); } \
     221                 :   NS_SCRIPTABLE NS_IMETHOD CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothRel * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateSVGPathSegCurvetoQuadraticSmoothRel(x, y, _retval); } 
     222                 : 
     223                 : #if 0
     224                 : /* Use the code below as a template for the implementation class for this interface. */
     225                 : 
     226                 : /* Header file */
     227                 : class nsDOMSVGPathElement : public nsIDOMSVGPathElement
     228                 : {
     229                 : public:
     230                 :   NS_DECL_ISUPPORTS
     231                 :   NS_DECL_NSIDOMSVGPATHELEMENT
     232                 : 
     233                 :   nsDOMSVGPathElement();
     234                 : 
     235                 : private:
     236                 :   ~nsDOMSVGPathElement();
     237                 : 
     238                 : protected:
     239                 :   /* additional members */
     240                 : };
     241                 : 
     242                 : /* Implementation file */
     243                 : NS_IMPL_ISUPPORTS1(nsDOMSVGPathElement, nsIDOMSVGPathElement)
     244                 : 
     245                 : nsDOMSVGPathElement::nsDOMSVGPathElement()
     246                 : {
     247                 :   /* member initializers and constructor code */
     248                 : }
     249                 : 
     250                 : nsDOMSVGPathElement::~nsDOMSVGPathElement()
     251                 : {
     252                 :   /* destructor code */
     253                 : }
     254                 : 
     255                 : /* readonly attribute nsIDOMSVGAnimatedNumber pathLength; */
     256                 : NS_IMETHODIMP nsDOMSVGPathElement::GetPathLength(nsIDOMSVGAnimatedNumber * *aPathLength)
     257                 : {
     258                 :     return NS_ERROR_NOT_IMPLEMENTED;
     259                 : }
     260                 : 
     261                 : /* float getTotalLength (); */
     262                 : NS_IMETHODIMP nsDOMSVGPathElement::GetTotalLength(float *_retval NS_OUTPARAM)
     263                 : {
     264                 :     return NS_ERROR_NOT_IMPLEMENTED;
     265                 : }
     266                 : 
     267                 : /* nsIDOMSVGPoint getPointAtLength (in float distance); */
     268                 : NS_IMETHODIMP nsDOMSVGPathElement::GetPointAtLength(float distance, nsIDOMSVGPoint * *_retval NS_OUTPARAM)
     269                 : {
     270                 :     return NS_ERROR_NOT_IMPLEMENTED;
     271                 : }
     272                 : 
     273                 : /* unsigned long getPathSegAtLength (in float distance); */
     274                 : NS_IMETHODIMP nsDOMSVGPathElement::GetPathSegAtLength(float distance, PRUint32 *_retval NS_OUTPARAM)
     275                 : {
     276                 :     return NS_ERROR_NOT_IMPLEMENTED;
     277                 : }
     278                 : 
     279                 : /* nsIDOMSVGPathSegClosePath createSVGPathSegClosePath (); */
     280                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegClosePath(nsIDOMSVGPathSegClosePath * *_retval NS_OUTPARAM)
     281                 : {
     282                 :     return NS_ERROR_NOT_IMPLEMENTED;
     283                 : }
     284                 : 
     285                 : /* nsIDOMSVGPathSegMovetoAbs createSVGPathSegMovetoAbs (in float x, in float y); */
     286                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegMovetoAbs(float x, float y, nsIDOMSVGPathSegMovetoAbs * *_retval NS_OUTPARAM)
     287                 : {
     288                 :     return NS_ERROR_NOT_IMPLEMENTED;
     289                 : }
     290                 : 
     291                 : /* nsIDOMSVGPathSegMovetoRel createSVGPathSegMovetoRel (in float x, in float y); */
     292                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegMovetoRel(float x, float y, nsIDOMSVGPathSegMovetoRel * *_retval NS_OUTPARAM)
     293                 : {
     294                 :     return NS_ERROR_NOT_IMPLEMENTED;
     295                 : }
     296                 : 
     297                 : /* nsIDOMSVGPathSegLinetoAbs createSVGPathSegLinetoAbs (in float x, in float y); */
     298                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegLinetoAbs(float x, float y, nsIDOMSVGPathSegLinetoAbs * *_retval NS_OUTPARAM)
     299                 : {
     300                 :     return NS_ERROR_NOT_IMPLEMENTED;
     301                 : }
     302                 : 
     303                 : /* nsIDOMSVGPathSegLinetoRel createSVGPathSegLinetoRel (in float x, in float y); */
     304                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegLinetoRel(float x, float y, nsIDOMSVGPathSegLinetoRel * *_retval NS_OUTPARAM)
     305                 : {
     306                 :     return NS_ERROR_NOT_IMPLEMENTED;
     307                 : }
     308                 : 
     309                 : /* nsIDOMSVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs (in float x, in float y, in float x1, in float y1, in float x2, in float y2); */
     310                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoCubicAbs(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicAbs * *_retval NS_OUTPARAM)
     311                 : {
     312                 :     return NS_ERROR_NOT_IMPLEMENTED;
     313                 : }
     314                 : 
     315                 : /* nsIDOMSVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel (in float x, in float y, in float x1, in float y1, in float x2, in float y2); */
     316                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoCubicRel(float x, float y, float x1, float y1, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicRel * *_retval NS_OUTPARAM)
     317                 : {
     318                 :     return NS_ERROR_NOT_IMPLEMENTED;
     319                 : }
     320                 : 
     321                 : /* nsIDOMSVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs (in float x, in float y, in float x1, in float y1); */
     322                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoQuadraticAbs(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticAbs * *_retval NS_OUTPARAM)
     323                 : {
     324                 :     return NS_ERROR_NOT_IMPLEMENTED;
     325                 : }
     326                 : 
     327                 : /* nsIDOMSVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel (in float x, in float y, in float x1, in float y1); */
     328                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoQuadraticRel(float x, float y, float x1, float y1, nsIDOMSVGPathSegCurvetoQuadraticRel * *_retval NS_OUTPARAM)
     329                 : {
     330                 :     return NS_ERROR_NOT_IMPLEMENTED;
     331                 : }
     332                 : 
     333                 : /* nsIDOMSVGPathSegArcAbs createSVGPathSegArcAbs (in float x, in float y, in float r1, in float r2, in float angle, in boolean largeArcFlag, in boolean sweepFlag); */
     334                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegArcAbs(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcAbs * *_retval NS_OUTPARAM)
     335                 : {
     336                 :     return NS_ERROR_NOT_IMPLEMENTED;
     337                 : }
     338                 : 
     339                 : /* nsIDOMSVGPathSegArcRel createSVGPathSegArcRel (in float x, in float y, in float r1, in float r2, in float angle, in boolean largeArcFlag, in boolean sweepFlag); */
     340                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegArcRel(float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag, nsIDOMSVGPathSegArcRel * *_retval NS_OUTPARAM)
     341                 : {
     342                 :     return NS_ERROR_NOT_IMPLEMENTED;
     343                 : }
     344                 : 
     345                 : /* nsIDOMSVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs (in float x); */
     346                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegLinetoHorizontalAbs(float x, nsIDOMSVGPathSegLinetoHorizontalAbs * *_retval NS_OUTPARAM)
     347                 : {
     348                 :     return NS_ERROR_NOT_IMPLEMENTED;
     349                 : }
     350                 : 
     351                 : /* nsIDOMSVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel (in float x); */
     352                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegLinetoHorizontalRel(float x, nsIDOMSVGPathSegLinetoHorizontalRel * *_retval NS_OUTPARAM)
     353                 : {
     354                 :     return NS_ERROR_NOT_IMPLEMENTED;
     355                 : }
     356                 : 
     357                 : /* nsIDOMSVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs (in float y); */
     358                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegLinetoVerticalAbs(float y, nsIDOMSVGPathSegLinetoVerticalAbs * *_retval NS_OUTPARAM)
     359                 : {
     360                 :     return NS_ERROR_NOT_IMPLEMENTED;
     361                 : }
     362                 : 
     363                 : /* nsIDOMSVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel (in float y); */
     364                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegLinetoVerticalRel(float y, nsIDOMSVGPathSegLinetoVerticalRel * *_retval NS_OUTPARAM)
     365                 : {
     366                 :     return NS_ERROR_NOT_IMPLEMENTED;
     367                 : }
     368                 : 
     369                 : /* nsIDOMSVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs (in float x, in float y, in float x2, in float y2); */
     370                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoCubicSmoothAbs(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothAbs * *_retval NS_OUTPARAM)
     371                 : {
     372                 :     return NS_ERROR_NOT_IMPLEMENTED;
     373                 : }
     374                 : 
     375                 : /* nsIDOMSVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel (in float x, in float y, in float x2, in float y2); */
     376                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoCubicSmoothRel(float x, float y, float x2, float y2, nsIDOMSVGPathSegCurvetoCubicSmoothRel * *_retval NS_OUTPARAM)
     377                 : {
     378                 :     return NS_ERROR_NOT_IMPLEMENTED;
     379                 : }
     380                 : 
     381                 : /* nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs (in float x, in float y); */
     382                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoQuadraticSmoothAbs(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs * *_retval NS_OUTPARAM)
     383                 : {
     384                 :     return NS_ERROR_NOT_IMPLEMENTED;
     385                 : }
     386                 : 
     387                 : /* nsIDOMSVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel (in float x, in float y); */
     388                 : NS_IMETHODIMP nsDOMSVGPathElement::CreateSVGPathSegCurvetoQuadraticSmoothRel(float x, float y, nsIDOMSVGPathSegCurvetoQuadraticSmoothRel * *_retval NS_OUTPARAM)
     389                 : {
     390                 :     return NS_ERROR_NOT_IMPLEMENTED;
     391                 : }
     392                 : 
     393                 : /* End of implementation class template. */
     394                 : #endif
     395                 : 
     396                 : 
     397                 : #endif /* __gen_nsIDOMSVGPathElement_h__ */

Generated by: LCOV version 1.7