Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSVGNumber.cpp File Reference
#include "nsSVGNumber.h"
#include "nsTextFormatter.h"
#include "prdtoa.h"
#include "nsSVGValue.h"
#include "nsISVGValueUtils.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Classes

class  nsSVGNumber

Functions

nsresult NS_NewSVGNumber (nsIDOMSVGNumber **result, float val)

Function Documentation

nsresult NS_NewSVGNumber ( nsIDOMSVGNumber **  result,
float  val 
)

Definition at line 76 of file nsSVGNumber.cpp.

{
  *result = new nsSVGNumber(val);
  if (!*result) return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*result);
  return NS_OK;
}

Here is the call graph for this function:

Here is the caller graph for this function: