Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsICanvasElement Class Reference

#include <nsICanvasElement.h>

Inheritance diagram for nsICanvasElement:
Inheritance graph
[legend]
Collaboration diagram for nsICanvasElement:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD GetPrimaryCanvasFrame (nsIFrame **aFrame)=0
 Ask the canvas Element to return the primary frame, if any.
NS_IMETHOD GetSize (PRUint32 *width, PRUint32 *height)=0
 Get the size in pixels of this canvas element.
NS_IMETHOD RenderContexts (nsIRenderingContext *rc)=0
NS_IMETHOD RenderContextsToSurface (struct _cairo_surface *surf)=0
virtual PRBool IsWriteOnly ()=0
 Determine whether the canvas is write-only.
virtual void SetWriteOnly ()=0
 Force the canvas to be write-only.

Detailed Description

Definition at line 52 of file nsICanvasElement.h.


Member Function Documentation

Ask the canvas Element to return the primary frame, if any.

Implemented in nsHTMLCanvasElement.

Here is the caller graph for this function:

NS_IMETHOD nsICanvasElement::GetSize ( PRUint32 width,
PRUint32 height 
) [pure virtual]

Get the size in pixels of this canvas element.

Implemented in nsHTMLCanvasElement.

virtual PRBool nsICanvasElement::IsWriteOnly ( ) [pure virtual]

Determine whether the canvas is write-only.

Implemented in nsHTMLCanvasElement.

Here is the caller graph for this function:

Implemented in nsHTMLCanvasElement.

Implemented in nsHTMLCanvasElement.

virtual void nsICanvasElement::SetWriteOnly ( ) [pure virtual]

Force the canvas to be write-only.

Implemented in nsHTMLCanvasElement.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: