Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes
nsISVGSVGElement Class Reference

#include <nsISVGSVGElement.h>

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

List of all members.

Public Member Functions

NS_IMETHOD SetParentCoordCtxProvider (nsSVGCoordCtxProvider *parentCtx)=0
NS_IMETHOD GetCurrentScaleNumber (nsIDOMSVGNumber **aResult)=0
NS_IMETHOD GetZoomAndPanEnum (nsISVGEnum **aResult)=0
NS_IMETHOD SetCurrentScaleTranslate (float s, float x, float y)=0
 For use by zoom controls to allow currentScale, currentTranslate.x and currentTranslate.y to be set by a single operation that dispatches a single SVGZoom event (instead of one SVGZoom and two SVGScroll events).
NS_IMETHOD SetCurrentTranslate (float x, float y)=0
 For use by pan controls to allow currentTranslate.x and currentTranslate.y to be set by a single operation that dispatches a single SVGScroll event (instead of two).
 NS_IMETHOD_ (void) RecordCurrentScaleTranslate()=0
 Record the current values of currentScale, currentTranslate.x and currentTranslate.y prior to changing the value of one of them.
 NS_IMETHOD_ (float) GetPreviousScale()=0
 Retrieve the value of currentScale, currentTranslate.x or currentTranslate.y prior to the last change made to any one of them.
 NS_IMETHOD_ (float) GetPreviousTranslate_x()=0
 NS_IMETHOD_ (float) GetPreviousTranslate_y()=0
unsigned long suspendRedraw (in unsigned long max_wait_milliseconds)
void unsuspendRedraw (in unsigned long suspend_handle_id)
void unsuspendRedrawAll ()
void forceRedraw ()
void pauseAnimations ()
void unpauseAnimations ()
boolean animationsPaused ()
float getCurrentTime ()
void setCurrentTime (in float seconds)
nsIDOMNodeList getIntersectionList (in nsIDOMSVGRect rect, in nsIDOMSVGElement referenceElement)
nsIDOMNodeList getEnclosureList (in nsIDOMSVGRect rect, in nsIDOMSVGElement referenceElement)
boolean checkIntersection (in nsIDOMSVGElement element, in nsIDOMSVGRect rect)
boolean checkEnclosure (in nsIDOMSVGElement element, in nsIDOMSVGRect rect)
void deSelectAll ()
nsIDOMSVGNumber createSVGNumber ()
nsIDOMSVGLength createSVGLength ()
nsIDOMSVGAngle createSVGAngle ()
nsIDOMSVGPoint createSVGPoint ()
nsIDOMSVGMatrix createSVGMatrix ()
nsIDOMSVGRect createSVGRect ()
nsIDOMSVGTransform createSVGTransform ()
nsIDOMSVGTransform createSVGTransformFromMatrix (in nsIDOMSVGMatrix matrix)
DOMString createSVGString ()
nsIDOMElement getElementById (in DOMString elementId)
nsIDOMSVGMatrix getViewboxToViewportTransform ()
DOMString getAttribute (in DOMString name)
void setAttribute (in DOMString name, in DOMString value) raises (DOMException)
void removeAttribute (in DOMString name) raises (DOMException)
nsIDOMAttr getAttributeNode (in DOMString name)
nsIDOMAttr setAttributeNode (in nsIDOMAttr newAttr) raises (DOMException)
nsIDOMAttr removeAttributeNode (in nsIDOMAttr oldAttr) raises (DOMException)
nsIDOMNodeList getElementsByTagName (in DOMString name)
DOMString getAttributeNS (in DOMString namespaceURI, in DOMString localName)
void setAttributeNS (in DOMString namespaceURI, in DOMString qualifiedName, in DOMString value) raises (DOMException)
void removeAttributeNS (in DOMString namespaceURI, in DOMString localName) raises (DOMException)
nsIDOMAttr getAttributeNodeNS (in DOMString namespaceURI, in DOMString localName)
nsIDOMAttr setAttributeNodeNS (in nsIDOMAttr newAttr) raises (DOMException)
nsIDOMNodeList getElementsByTagNameNS (in DOMString namespaceURI, in DOMString localName)
boolean hasAttribute (in DOMString name)
boolean hasAttributeNS (in DOMString namespaceURI, in DOMString localName)
nsIDOMNode insertBefore (in nsIDOMNode newChild, in nsIDOMNode refChild) raises (DOMException)
nsIDOMNode replaceChild (in nsIDOMNode newChild, in nsIDOMNode oldChild) raises (DOMException)
nsIDOMNode removeChild (in nsIDOMNode oldChild) raises (DOMException)
nsIDOMNode appendChild (in nsIDOMNode newChild) raises (DOMException)
boolean hasChildNodes ()
nsIDOMNode cloneNode (in boolean deep)
void normalize ()
boolean isSupported (in DOMString feature, in DOMString version)
boolean hasAttributes ()

Static Public Member Functions

static const nsIIDGetIID ()

Public Attributes

readonly attribute
nsIDOMSVGAnimatedLength 
x
readonly attribute
nsIDOMSVGAnimatedLength 
y
readonly attribute
nsIDOMSVGAnimatedLength 
width
readonly attribute
nsIDOMSVGAnimatedLength 
height
attribute DOMString contentScriptType
attribute DOMString contentStyleType
readonly attribute nsIDOMSVGRect viewport
readonly attribute float pixelUnitToMillimeterX
readonly attribute float pixelUnitToMillimeterY
readonly attribute float screenPixelToMillimeterX
readonly attribute float screenPixelToMillimeterY
attribute boolean useCurrentView
readonly attribute
nsIDOMSVGViewSpec 
currentView
attribute float currentScale
readonly attribute nsIDOMSVGPoint currentTranslate
attribute DOMString id
readonly attribute
nsIDOMSVGSVGElement 
ownerSVGElement
readonly attribute nsIDOMSVGElement viewportElement
readonly attribute DOMString tagName
const unsigned short ELEMENT_NODE = 1
const unsigned short ATTRIBUTE_NODE = 2
const unsigned short TEXT_NODE = 3
const unsigned short CDATA_SECTION_NODE = 4
const unsigned short ENTITY_REFERENCE_NODE = 5
const unsigned short ENTITY_NODE = 6
const unsigned short PROCESSING_INSTRUCTION_NODE = 7
const unsigned short COMMENT_NODE = 8
const unsigned short DOCUMENT_NODE = 9
const unsigned short DOCUMENT_TYPE_NODE = 10
const unsigned short DOCUMENT_FRAGMENT_NODE = 11
const unsigned short NOTATION_NODE = 12
readonly attribute DOMString nodeName
attribute DOMString nodeValue
readonly attribute unsigned short nodeType
readonly attribute nsIDOMNode parentNode
readonly attribute nsIDOMNodeList childNodes
readonly attribute nsIDOMNode firstChild
readonly attribute nsIDOMNode lastChild
readonly attribute nsIDOMNode previousSibling
readonly attribute nsIDOMNode nextSibling
readonly attribute
nsIDOMNamedNodeMap 
attributes
readonly attribute nsIDOMDocument ownerDocument
readonly attribute DOMString namespaceURI
attribute DOMString prefix
readonly attribute DOMString localName

Detailed Description

Definition at line 56 of file nsISVGSVGElement.h.


Member Function Documentation

nsIDOMNode nsIDOMNode::appendChild ( in nsIDOMNode  newChild) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::cloneNode ( in boolean  deep) [inherited]
DOMString nsIDOMSVGSVGElement::createSVGString ( ) [inherited]
DOMString nsIDOMElement::getAttribute ( in DOMString  name) [inherited]
nsIDOMAttr nsIDOMElement::getAttributeNode ( in DOMString  name) [inherited]
nsIDOMAttr nsIDOMElement::getAttributeNodeNS ( in DOMString  namespaceURI,
in DOMString  localName 
) [inherited]
DOMString nsIDOMElement::getAttributeNS ( in DOMString  namespaceURI,
in DOMString  localName 
) [inherited]

Implemented in nsSVGSVGElement.

float nsIDOMSVGSVGElement::getCurrentTime ( ) [inherited]
nsIDOMElement nsIDOMSVGSVGElement::getElementById ( in DOMString  elementId) [inherited]
nsIDOMNodeList nsIDOMElement::getElementsByTagName ( in DOMString  name) [inherited]
nsIDOMNodeList nsIDOMElement::getElementsByTagNameNS ( in DOMString  namespaceURI,
in DOMString  localName 
) [inherited]
static const nsIID& nsISVGSVGElement::GetIID ( ) [inline, static]

Definition at line 59 of file nsISVGSVGElement.h.

{ static nsIID iid = NS_ISVGSVGELEMENT_IID; return iid; }

Here is the caller graph for this function:

Implemented in nsSVGSVGElement.

boolean nsIDOMElement::hasAttribute ( in DOMString  name) [inherited]
boolean nsIDOMElement::hasAttributeNS ( in DOMString  namespaceURI,
in DOMString  localName 
) [inherited]
nsIDOMNode nsIDOMNode::insertBefore ( in nsIDOMNode  newChild,
in nsIDOMNode  refChild 
) raises (DOMException) [inherited]
boolean nsIDOMNode::isSupported ( in DOMString  feature,
in DOMString  version 
) [inherited]
void nsIDOMNode::normalize ( ) [inherited]
nsISVGSVGElement::NS_IMETHOD_ ( void  ) [pure virtual]

Record the current values of currentScale, currentTranslate.x and currentTranslate.y prior to changing the value of one of them.

Implemented in nsSVGSVGElement.

nsISVGSVGElement::NS_IMETHOD_ ( float  ) [pure virtual]

Retrieve the value of currentScale, currentTranslate.x or currentTranslate.y prior to the last change made to any one of them.

Implemented in nsSVGSVGElement, nsSVGSVGElement, and nsSVGSVGElement.

nsISVGSVGElement::NS_IMETHOD_ ( float  ) [pure virtual]
nsISVGSVGElement::NS_IMETHOD_ ( float  ) [pure virtual]
void nsIDOMElement::removeAttribute ( in DOMString  name) raises (DOMException) [inherited]
nsIDOMAttr nsIDOMElement::removeAttributeNode ( in nsIDOMAttr  oldAttr) raises (DOMException) [inherited]
void nsIDOMElement::removeAttributeNS ( in DOMString  namespaceURI,
in DOMString  localName 
) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::removeChild ( in nsIDOMNode  oldChild) raises (DOMException) [inherited]
nsIDOMNode nsIDOMNode::replaceChild ( in nsIDOMNode  newChild,
in nsIDOMNode  oldChild 
) raises (DOMException) [inherited]
void nsIDOMElement::setAttribute ( in DOMString  name,
in DOMString  value 
) raises (DOMException) [inherited]
nsIDOMAttr nsIDOMElement::setAttributeNode ( in nsIDOMAttr  newAttr) raises (DOMException) [inherited]
nsIDOMAttr nsIDOMElement::setAttributeNodeNS ( in nsIDOMAttr  newAttr) raises (DOMException) [inherited]
void nsIDOMElement::setAttributeNS ( in DOMString  namespaceURI,
in DOMString  qualifiedName,
in DOMString  value 
) raises (DOMException) [inherited]
NS_IMETHOD nsISVGSVGElement::SetCurrentScaleTranslate ( float  s,
float  x,
float  y 
) [pure virtual]

For use by zoom controls to allow currentScale, currentTranslate.x and currentTranslate.y to be set by a single operation that dispatches a single SVGZoom event (instead of one SVGZoom and two SVGScroll events).

Implemented in nsSVGSVGElement.

void nsIDOMSVGSVGElement::setCurrentTime ( in float  seconds) [inherited]
NS_IMETHOD nsISVGSVGElement::SetCurrentTranslate ( float  x,
float  y 
) [pure virtual]

For use by pan controls to allow currentTranslate.x and currentTranslate.y to be set by a single operation that dispatches a single SVGScroll event (instead of two).

Implemented in nsSVGSVGElement.

Implemented in nsSVGSVGElement.

unsigned long nsIDOMSVGSVGElement::suspendRedraw ( in unsigned long  max_wait_milliseconds) [inherited]
void nsIDOMSVGSVGElement::unsuspendRedraw ( in unsigned long  suspend_handle_id) [inherited]

Member Data Documentation

const unsigned short nsIDOMNode::ATTRIBUTE_NODE = 2 [inherited]

Definition at line 57 of file nsIDOMNode.idl.

Definition at line 80 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::CDATA_SECTION_NODE = 4 [inherited]

Definition at line 59 of file nsIDOMNode.idl.

Definition at line 75 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::COMMENT_NODE = 8 [inherited]

Definition at line 63 of file nsIDOMNode.idl.

Definition at line 79 of file nsIDOMSVGSVGElement.idl.

Definition at line 81 of file nsIDOMSVGSVGElement.idl.

Definition at line 91 of file nsIDOMSVGSVGElement.idl.

Definition at line 93 of file nsIDOMSVGSVGElement.idl.

Definition at line 90 of file nsIDOMSVGSVGElement.idl.

const unsigned short nsIDOMNode::DOCUMENT_FRAGMENT_NODE = 11 [inherited]

Definition at line 66 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::DOCUMENT_NODE = 9 [inherited]

Definition at line 64 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::DOCUMENT_TYPE_NODE = 10 [inherited]

Definition at line 65 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::ELEMENT_NODE = 1 [inherited]

Definition at line 56 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::ENTITY_NODE = 6 [inherited]

Definition at line 61 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::ENTITY_REFERENCE_NODE = 5 [inherited]

Definition at line 60 of file nsIDOMNode.idl.

Definition at line 76 of file nsIDOMNode.idl.

Definition at line 78 of file nsIDOMSVGSVGElement.idl.

attribute DOMString nsIDOMSVGElement::id [inherited]

Definition at line 46 of file nsIDOMSVGElement.idl.

Definition at line 77 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::localName [inherited]

Definition at line 107 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::namespaceURI [inherited]

Definition at line 101 of file nsIDOMNode.idl.

Definition at line 79 of file nsIDOMNode.idl.

readonly attribute DOMString nsIDOMNode::nodeName [inherited]

Definition at line 69 of file nsIDOMNode.idl.

readonly attribute unsigned short nsIDOMNode::nodeType [inherited]

Definition at line 73 of file nsIDOMNode.idl.

attribute DOMString nsIDOMNode::nodeValue [inherited]

Definition at line 70 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::NOTATION_NODE = 12 [inherited]

Definition at line 67 of file nsIDOMNode.idl.

Definition at line 82 of file nsIDOMNode.idl.

Definition at line 48 of file nsIDOMSVGElement.idl.

Definition at line 74 of file nsIDOMNode.idl.

Definition at line 84 of file nsIDOMSVGSVGElement.idl.

Definition at line 85 of file nsIDOMSVGSVGElement.idl.

attribute DOMString nsIDOMNode::prefix [inherited]

Definition at line 103 of file nsIDOMNode.idl.

Definition at line 78 of file nsIDOMNode.idl.

const unsigned short nsIDOMNode::PROCESSING_INSTRUCTION_NODE = 7 [inherited]

Definition at line 62 of file nsIDOMNode.idl.

Definition at line 86 of file nsIDOMSVGSVGElement.idl.

Definition at line 87 of file nsIDOMSVGSVGElement.idl.

readonly attribute DOMString nsIDOMElement::tagName [inherited]

Definition at line 55 of file nsIDOMElement.idl.

const unsigned short nsIDOMNode::TEXT_NODE = 3 [inherited]

Definition at line 58 of file nsIDOMNode.idl.

Definition at line 88 of file nsIDOMSVGSVGElement.idl.

Definition at line 83 of file nsIDOMSVGSVGElement.idl.

Definition at line 49 of file nsIDOMSVGElement.idl.

Definition at line 77 of file nsIDOMSVGSVGElement.idl.

Definition at line 75 of file nsIDOMSVGSVGElement.idl.

Definition at line 76 of file nsIDOMSVGSVGElement.idl.


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