KHTML
SVGStopElement.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef SVGStopElement_h
00024 #define SVGStopElement_h
00025
00026 #if ENABLE(SVG)
00027 #include "SVGStyledElement.h"
00028
00029 namespace WebCore {
00030
00031 class SVGStopElement : public SVGStyledElement {
00032 public:
00033 SVGStopElement(const QualifiedName&, Document*);
00034 virtual ~SVGStopElement();
00035
00036 virtual bool isGradientStop() const { return true; }
00037
00038 virtual void parseMappedAttribute(MappedAttribute*);
00039
00040 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
00041
00042
00043 virtual quint32 id() const;
00044 virtual DOMString tagName() const;
00045
00046 private:
00047 ANIMATED_PROPERTY_DECLARATIONS(SVGStopElement, float, float, Offset, offset)
00048 };
00049
00050 }
00051
00052 #endif // ENABLE(SVG)
00053 #endif