Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSVGPreserveAspectRatio.cpp File Reference
#include "nsSVGPreserveAspectRatio.h"
#include "nsSVGValue.h"
#include "nsCRT.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Classes

class  nsSVGPreserveAspectRatio

Functions

nsresult NS_NewSVGPreserveAspectRatio (nsIDOMSVGPreserveAspectRatio **result, PRUint16 aAlign, PRUint16 aMeetOrSlice)

Function Documentation

Definition at line 283 of file nsSVGPreserveAspectRatio.cpp.

{
  *result = (nsIDOMSVGPreserveAspectRatio*) new nsSVGPreserveAspectRatio(aAlign, aMeetOrSlice);
  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: