SVGFEDropShadowElement.h [plain text]
#ifndef SVGFEDropShadowElement_h
#define SVGFEDropShadowElement_h
#if ENABLE(FILTERS)
#include "FEDropShadow.h"
#include "SVGAnimatedNumber.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class SVGFEDropShadowElement final : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFEDropShadowElement> create(const QualifiedName&, Document&);
void setStdDeviation(float stdDeviationX, float stdDeviationY);
private:
SVGFEDropShadowElement(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;
static const AtomicString& stdDeviationXIdentifier();
static const AtomicString& stdDeviationYIdentifier();
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEDropShadowElement)
DECLARE_ANIMATED_STRING(In1, in1)
DECLARE_ANIMATED_NUMBER(Dx, dx)
DECLARE_ANIMATED_NUMBER(Dy, dy)
DECLARE_ANIMATED_NUMBER(StdDeviationX, stdDeviationX)
DECLARE_ANIMATED_NUMBER(StdDeviationY, stdDeviationY)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif // ENABLE(FILTERS)
#endif