Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSVGAnimatedAngle.cpp File Reference
#include "nsSVGValue.h"
#include "nsWeakReference.h"
#include "nsSVGAnimatedAngle.h"
#include "nsSVGLength.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Classes

class  nsSVGAnimatedAngle

Functions

nsresult NS_NewSVGAnimatedAngle (nsIDOMSVGAnimatedAngle **aResult, nsIDOMSVGAngle *baseVal)

Function Documentation

Definition at line 188 of file nsSVGAnimatedAngle.cpp.

{
  *aResult = nsnull;
  
  nsSVGAnimatedAngle* animatedLength = new nsSVGAnimatedAngle();
  if(!animatedLength) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(animatedLength);

  animatedLength->Init(baseVal);
  
  *aResult = (nsIDOMSVGAnimatedAngle*) animatedLength;
  
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: