Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsSVGLibartGlyphMetricsDefault.cpp File Reference
#include "nsCOMPtr.h"
#include "nsISVGGlyphMetricsSource.h"
#include "nsISVGRendererGlyphMetrics.h"
#include "nsPromiseFlatString.h"
#include "nsFont.h"
#include "nsIFontMetrics.h"
#include "nsPresContext.h"
#include "float.h"
#include "nsIDOMSVGMatrix.h"
#include "nsIDOMSVGRect.h"
#include "nsSVGTypeCIDs.h"
#include "nsIComponentManager.h"

Go to the source code of this file.

Classes

class  nsSVGLibartGlyphMetrics
 Default Libart glyph metrics implementation. More...

Functions

nsresult NS_NewSVGLibartGlyphMetricsDefault (nsISVGRendererGlyphMetrics **result, nsISVGGlyphMetricsSource *src)

Function Documentation

Definition at line 93 of file nsSVGLibartGlyphMetricsDefault.cpp.

{
  *result = new nsSVGLibartGlyphMetrics(src);
  if (!*result) return NS_ERROR_OUT_OF_MEMORY;
  
  NS_ADDREF(*result);
  return NS_OK;
}

Here is the call graph for this function: