#ifndef SVGFEOffsetElement_h
#define SVGFEOffsetElement_h
#include "core/svg/SVGAnimatedNumber.h"
#include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
#include "platform/graphics/filters/FEOffset.h"
namespace WebCore {
class SVGFEOffsetElement FINAL : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFEOffsetElement> create(Document&);
SVGAnimatedNumber* dx() { return m_dx.get(); }
SVGAnimatedNumber* dy() { return m_dy.get(); }
SVGAnimatedString* in1() { return m_in1.get(); }
private:
explicit SVGFEOffsetElement(Document&);
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE;
RefPtr<SVGAnimatedNumber> m_dx;
RefPtr<SVGAnimatedNumber> m_dy;
RefPtr<SVGAnimatedString> m_in1;
};
}
#endif