Back to index

lightning-sunbird  0.9+nobinonly
nsSVGGDIPlusCanvas.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


nsresult NS_NewSVGGDIPlusCanvas (nsISVGRendererCanvas **result, nsIRenderingContext *ctx, nsPresContext *presContext, const nsRect &dirtyRect)

Function Documentation

nsresult NS_NewSVGGDIPlusCanvas ( nsISVGRendererCanvas **  result,
nsIRenderingContext ctx,
nsPresContext presContext,
const nsRect dirtyRect 

Definition at line 195 of file nsSVGGDIPlusCanvas.cpp.

  nsSVGGDIPlusCanvas* pg = new nsSVGGDIPlusCanvas();
  if (!pg) return NS_ERROR_OUT_OF_MEMORY;


  nsresult rv = pg->Init(ctx, presContext, dirtyRect);

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

Here is the call graph for this function: