SVGFEOffsetElement.h [plain text]
#ifndef SVGFEOffsetElement_h
#define SVGFEOffsetElement_h
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "FEOffset.h"
#include "SVGAnimatedNumber.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class SVGFEOffsetElement : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFEOffsetElement> create(const QualifiedName&, Document*);
private:
SVGFEOffsetElement(const QualifiedName&, Document*);
bool isSupportedAttribute(const QualifiedName&);
virtual void parseAttribute(Attribute*) OVERRIDE;
virtual void svgAttributeChanged(const QualifiedName&);
virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*);
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 // ENABLE(SVG)
#endif