Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsHTMLCanvasElement.cpp File Reference
#include "nsIDOMHTMLCanvasElement.h"
#include "nsGenericHTMLElement.h"
#include "nsPresContext.h"
#include "nsIPresShell.h"
#include "nsHTMLAtoms.h"
#include "nsSize.h"
#include "nsIFrame.h"
#include "nsIDocument.h"
#include "nsIDOMDocument.h"
#include "nsDOMError.h"
#include "nsNodeInfoManager.h"
#include "plbase64.h"
#include "nsNetUtil.h"
#include "prmem.h"
#include "nsIScriptSecurityManager.h"
#include "nsIXPConnect.h"
#include "jsapi.h"
#include "nsICanvasElement.h"
#include "nsIRenderingContext.h"
#include "nsICanvasRenderingContextInternal.h"

Go to the source code of this file.

Classes

class  nsHTMLCanvasElement

Defines

#define DEFAULT_CANVAS_WIDTH   300
#define DEFAULT_CANVAS_HEIGHT   150

Functions

nsGenericHTMLElementNS_NewHTMLCanvasElement (nsINodeInfo *aNodeInfo, PRBool aFromParser)
static void MapAttributesIntoRule (const nsMappedAttributes *aAttributes, nsRuleData *aData)

Variables

static const
nsGenericElement::MappedAttributeEntry 
sImageMarginAttributeMap []

Define Documentation

Definition at line 63 of file nsHTMLCanvasElement.cpp.

Definition at line 62 of file nsHTMLCanvasElement.cpp.


Function Documentation

static void MapAttributesIntoRule ( const nsMappedAttributes aAttributes,
nsRuleData aData 
) [static]

Definition at line 221 of file nsHTMLCanvasElement.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsGenericHTMLElement* NS_NewHTMLCanvasElement ( nsINodeInfo aNodeInfo,
PRBool  aFromParser 
)

Definition at line 130 of file nsHTMLCanvasElement.cpp.

{
  return new nsHTMLCanvasElement(aNodeInfo);
}

Variable Documentation

Initial value:
 {
  { &nsHTMLAtoms::hspace },
  { &nsHTMLAtoms::vspace },
  { nsnull }
}

Definition at line 235 of file nsHTMLCanvasElement.cpp.