SVGFEOffsetElement.h [plain text]
#ifndef SVGFEOffsetElement_h
#define SVGFEOffsetElement_h
#if ENABLE(SVG) && ENABLE(SVG_FILTERS)
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "SVGFEOffset.h"
namespace WebCore
{
class SVGFEOffsetElement : public SVGFilterPrimitiveStandardAttributes
{
public:
SVGFEOffsetElement(const QualifiedName&, Document*);
virtual ~SVGFEOffsetElement();
virtual void parseMappedAttribute(MappedAttribute*);
virtual SVGFEOffset* filterEffect(SVGResourceFilter*) const;
protected:
virtual const SVGElement* contextElement() const { return this; }
private:
ANIMATED_PROPERTY_DECLARATIONS(SVGFEOffsetElement, String, String, In1, in1)
ANIMATED_PROPERTY_DECLARATIONS(SVGFEOffsetElement, float, float, Dx, dx)
ANIMATED_PROPERTY_DECLARATIONS(SVGFEOffsetElement, float, float, Dy, dy)
mutable SVGFEOffset* m_filterEffect;
};
}
#endif // ENABLE(SVG)
#endif