SVGTextPositioningElement.h [plain text]
#ifndef SVGTextPositioningElement_h
#define SVGTextPositioningElement_h
#include "SVGAnimatedLengthList.h"
#include "SVGAnimatedNumberList.h"
#include "SVGTextContentElement.h"
namespace WebCore {
class SVGTextPositioningElement : public SVGTextContentElement {
public:
static SVGTextPositioningElement* elementFromRenderer(RenderBoxModelObject&);
protected:
SVGTextPositioningElement(const QualifiedName&, Document&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
private:
virtual bool isPresentationAttribute(const QualifiedName&) const override final;
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override final;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPositioningElement)
DECLARE_ANIMATED_LENGTH_LIST(X, x)
DECLARE_ANIMATED_LENGTH_LIST(Y, y)
DECLARE_ANIMATED_LENGTH_LIST(Dx, dx)
DECLARE_ANIMATED_LENGTH_LIST(Dy, dy)
DECLARE_ANIMATED_NUMBER_LIST(Rotate, rotate)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif