Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsISVGLibartBitmap.h File Reference
#include "nsISupports.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsISVGLibartBitmap
 'Private' rendering engine interface More...

Defines

#define NS_ISVGLIBARTBITMAP_IID   { 0x18e4f62f, 0x60a4, 0x42d1, { 0xbc, 0xe2, 0x43, 0x44, 0x56, 0x56, 0x09, 0x6e } }

Typedefs

typedef PRUint32 nscolor

Functions

nsresult NS_NewSVGLibartBitmap (nsISVGLibartBitmap **result, nsIRenderingContext *ctx, nsPresContext *presContext, const nsRect &rect)

Define Documentation

#define NS_ISVGLIBARTBITMAP_IID   { 0x18e4f62f, 0x60a4, 0x42d1, { 0xbc, 0xe2, 0x43, 0x44, 0x56, 0x56, 0x09, 0x6e } }

Definition at line 51 of file nsISVGLibartBitmap.h.


Typedef Documentation

typedef PRUint32 nscolor

Definition at line 47 of file nsISVGLibartBitmap.h.


Function Documentation

nsresult NS_NewSVGLibartBitmap ( nsISVGLibartBitmap **  result,
nsIRenderingContext ctx,
nsPresContext presContext,
const nsRect rect 
)

Definition at line 160 of file nsSVGLibartBitmapAlpha.cpp.

{
  nsSVGLibartBitmapAlpha* bm = new nsSVGLibartBitmapAlpha();
  if (!bm) return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF(bm);

  nsresult rv = bm->Init(ctx, presContext, rect);

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

Here is the call graph for this function:

Here is the caller graph for this function: