Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsSVGMatrix.cpp File Reference
#include "nsSVGMatrix.h"
#include "nsDOMError.h"
#include "nsSVGValue.h"
#include <math.h>
#include "nsContentUtils.h"

Go to the source code of this file.

Classes

class  nsSVGMatrix

Functions

nsresult NS_NewSVGMatrix (nsIDOMSVGMatrix **result, float a, float b, float c, float d, float e, float f)

Variables

const double radPerDegree = 2.0*3.1415926535 / 360.0

Function Documentation

nsresult NS_NewSVGMatrix ( nsIDOMSVGMatrix **  result,
float  a,
float  b,
float  c,
float  d,
float  e,
float  f 
)

Definition at line 71 of file nsSVGMatrix.cpp.

{
  *result = new nsSVGMatrix(a, b, c, d, e, f);
  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:


Variable Documentation

const double radPerDegree = 2.0*3.1415926535 / 360.0

Definition at line 45 of file nsSVGMatrix.cpp.