#ifndef KSVG_SVGTextElementImpl_H
#define KSVG_SVGTextElementImpl_H
#if SVG_SUPPORT
#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 *attr);
virtual SVGElement *nearestViewportElement() const;
virtual SVGElement *farthestViewportElement() const;
virtual FloatRect getBBox() const;
virtual SVGMatrix *getCTM() const;
virtual SVGMatrix *getScreenCTM() const;
virtual SVGMatrix *getTransformToElement(SVGElement *element) const { return 0; }
virtual bool rendererIsNeeded(RenderStyle *style) { return StyledElement::rendererIsNeeded(style); }
virtual RenderObject *createRenderer(RenderArena *arena, RenderStyle *style);
virtual bool childShouldCreateRenderer(Node *) const;
virtual void attach();
virtual SVGAnimatedTransformList *transform() const;
virtual SVGMatrix *localMatrix() const;
virtual void updateLocalTransform(SVGTransformList *localTransforms);
private:
mutable RefPtr<SVGMatrix> m_localMatrix;
mutable RefPtr<SVGAnimatedTransformList> m_transform;
};
};
#endif // SVG_SUPPORT
#endif