Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsSVGAnimatedRect.h File Reference
#include "nsIDOMSVGAnimatedRect.h"
#include "nsIDOMSVGRect.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

nsresult NS_NewSVGAnimatedRect (nsIDOMSVGAnimatedRect **result, nsIDOMSVGRect *baseVal)

Function Documentation

Definition at line 188 of file nsSVGAnimatedRect.cpp.

{
  *result = nsnull;
  
  nsSVGAnimatedRect* animatedRect = new nsSVGAnimatedRect();
  if(!animatedRect) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(animatedRect);

  animatedRect->Init(baseVal);
  
  *result = (nsIDOMSVGAnimatedRect*) animatedRect;
  
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: