Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsSVGCairoPathGeometry.cpp File Reference
#include "nsCOMPtr.h"
#include "nsSVGCairoPathGeometry.h"
#include "nsISVGRendererPathGeometry.h"
#include "nsISVGCairoCanvas.h"
#include "nsISVGCairoRegion.h"
#include "nsIDOMSVGMatrix.h"
#include "nsISVGRendererRegion.h"
#include "nsISVGPathGeometrySource.h"
#include "nsISVGRendererPathBuilder.h"
#include "nsSVGCairoPathBuilder.h"
#include "nsMemory.h"
#include <float.h>
#include "cairo.h"
#include "nsSVGCairoRegion.h"
#include "nsISVGGradient.h"
#include "nsSVGCairoGradient.h"
#include "nsIDOMSVGRect.h"
#include "nsSVGTypeCIDs.h"
#include "nsIComponentManager.h"
#include "nsISVGPathFlatten.h"
#include "nsSVGUtils.h"

Go to the source code of this file.

Classes

class  nsSVGCairoPathGeometry
 Cairo path geometry implementation. More...

Functions

nsresult NS_NewSVGCairoPathGeometry (nsISVGRendererPathGeometry **result, nsISVGPathGeometrySource *src)

Variables

cairo_surface_t * gSVGCairoDummySurface

Function Documentation

Definition at line 123 of file nsSVGCairoPathGeometry.cpp.

{
  nsSVGCairoPathGeometry* pg = new nsSVGCairoPathGeometry();
  if (!pg) return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(pg);

  nsresult rv = pg->Init(src);

  if (NS_FAILED(rv)) {
    NS_RELEASE(pg);
    return rv;
  }
  
  *result = pg;
  return rv;
}

Here is the call graph for this function:


Variable Documentation

cairo_surface_t* gSVGCairoDummySurface

Definition at line 52 of file nsSVGRendererCairo.cpp.