SVGFEOffsetElement.h [plain text]
#ifndef SVGFEOffsetElement_h
#define SVGFEOffsetElement_h
#if ENABLE(FILTERS)
#include "FEOffset.h"
#include "SVGAnimatedNumber.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class SVGFEOffsetElement final : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFEOffsetElement> create(const QualifiedName&, Document&);
private:
SVGFEOffsetElement(const QualifiedName&, 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;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEOffsetElement)
DECLARE_ANIMATED_STRING(In1, in1)
DECLARE_ANIMATED_NUMBER(Dx, dx)
DECLARE_ANIMATED_NUMBER(Dy, dy)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif
#endif