SVGFEGaussianBlurElement.h [plain text]
#ifndef SVGFEGaussianBlurElement_h
#define SVGFEGaussianBlurElement_h
#if ENABLE(FILTERS)
#include "FEGaussianBlur.h"
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedNumber.h"
#include "SVGFEConvolveMatrixElement.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class SVGFEGaussianBlurElement final : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFEGaussianBlurElement> create(const QualifiedName&, Document&);
void setStdDeviation(float stdDeviationX, float stdDeviationY);
private:
SVGFEGaussianBlurElement(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(SVGFEGaussianBlurElement)
DECLARE_ANIMATED_STRING(In1, in1)
DECLARE_ANIMATED_NUMBER(StdDeviationX, stdDeviationX)
DECLARE_ANIMATED_NUMBER(StdDeviationY, stdDeviationY)
DECLARE_ANIMATED_ENUMERATION(EdgeMode, edgeMode, EdgeModeType)
END_DECLARE_ANIMATED_PROPERTIES
};
}
#endif // ENABLE(FILTERS)
#endif