#ifndef SVGTextElement_h
#define SVGTextElement_h
#if ENABLE(SVG)
#include "SVGTextPositioningElement.h"
#include "SVGTransformable.h"
namespace WebCore {
class SVGTextElement : public SVGTextPositioningElement,
public SVGTransformable {
public:
SVGTextElement(const QualifiedName&, Document*);
virtual ~SVGTextElement();
virtual void parseMappedAttribute(MappedAttribute*);
virtual SVGElement* nearestViewportElement() const;
virtual SVGElement* farthestViewportElement() const;
virtual FloatRect getBBox() const;
virtual AffineTransform getCTM() const;
virtual AffineTransform getScreenCTM() const;
virtual AffineTransform animatedLocalTransform() const;
virtual RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual bool childShouldCreateRenderer(Node*) const;
protected:
virtual const SVGElement* contextElement() const { return this; }
private:
mutable AffineTransform m_localMatrix;
ANIMATED_PROPERTY_DECLARATIONS(SVGTextElement, SVGTransformList*, RefPtr<SVGTransformList>, Transform, transform)
};
}
#endif // ENABLE(SVG)
#endif