00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 #include "nsIDOMSVGElement.idl"
00040
00041 interface nsIDOMSVGAnimatedLength;
00042 interface nsIDOMSVGRect;
00043 interface nsIDOMSVGViewSpec;
00044 interface nsIDOMSVGPoint;
00045 interface nsIDOMSVGNumber;
00046 interface nsIDOMSVGLength;
00047 interface nsIDOMSVGAngle;
00048 interface nsIDOMSVGMatrix;
00049 interface nsIDOMSVGTransform;
00050
00051 [scriptable, uuid(67b8f41e-3577-4c8a-b1de-bef51186fe08)]
00052 interface nsIDOMSVGSVGElement
00053 : nsIDOMSVGElement
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074 {
00075 readonly attribute nsIDOMSVGAnimatedLength x;
00076 readonly attribute nsIDOMSVGAnimatedLength y;
00077 readonly attribute nsIDOMSVGAnimatedLength width;
00078 readonly attribute nsIDOMSVGAnimatedLength height;
00079 attribute DOMString contentScriptType;
00080
00081 attribute DOMString contentStyleType;
00082
00083 readonly attribute nsIDOMSVGRect viewport;
00084 readonly attribute float pixelUnitToMillimeterX;
00085 readonly attribute float pixelUnitToMillimeterY;
00086 readonly attribute float screenPixelToMillimeterX;
00087 readonly attribute float screenPixelToMillimeterY;
00088 attribute boolean useCurrentView;
00089
00090 readonly attribute nsIDOMSVGViewSpec currentView;
00091 attribute float currentScale;
00092
00093 readonly attribute nsIDOMSVGPoint currentTranslate;
00094
00095 unsigned long suspendRedraw(in unsigned long max_wait_milliseconds);
00096 void unsuspendRedraw(in unsigned long suspend_handle_id);
00097
00098 void unsuspendRedrawAll();
00099 void forceRedraw();
00100 void pauseAnimations();
00101 void unpauseAnimations();
00102 boolean animationsPaused();
00103 float getCurrentTime();
00104 void setCurrentTime(in float seconds);
00105 nsIDOMNodeList getIntersectionList(in nsIDOMSVGRect rect,
00106 in nsIDOMSVGElement referenceElement);
00107 nsIDOMNodeList getEnclosureList(in nsIDOMSVGRect rect, in nsIDOMSVGElement referenceElement);
00108 boolean checkIntersection(in nsIDOMSVGElement element, in nsIDOMSVGRect rect);
00109 boolean checkEnclosure(in nsIDOMSVGElement element, in nsIDOMSVGRect rect);
00110 void deSelectAll();
00111 nsIDOMSVGNumber createSVGNumber();
00112 nsIDOMSVGLength createSVGLength();
00113 nsIDOMSVGAngle createSVGAngle();
00114 nsIDOMSVGPoint createSVGPoint();
00115 nsIDOMSVGMatrix createSVGMatrix();
00116 nsIDOMSVGRect createSVGRect();
00117 nsIDOMSVGTransform createSVGTransform();
00118 nsIDOMSVGTransform createSVGTransformFromMatrix(in nsIDOMSVGMatrix matrix);
00119 DOMString createSVGString();
00120 nsIDOMElement getElementById(in DOMString elementId);
00121
00122
00123 nsIDOMSVGMatrix getViewboxToViewportTransform();
00124 };
00125
00126
00127
00128
00129