Back to index

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

Go to the source code of this file.

Functions

nsresult NS_NewSVGPreserveAspectRatio (nsIDOMSVGPreserveAspectRatio **result, PRUint16 aAlign=nsIDOMSVGPreserveAspectRatio::SVG_PRESERVEASPECTRATIO_XMIDYMID, PRUint16 aMeetOrSlice=nsIDOMSVGPreserveAspectRatio::SVG_MEETORSLICE_MEET)

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: