SVGFEGaussianBlurElement.h [plain text]
#ifndef SVGFEGaussianBlurElement_h
#define SVGFEGaussianBlurElement_h
#include "FEGaussianBlur.h"
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedNumber.h"
#include "SVGFEConvolveMatrixElement.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class SVGFEGaussianBlurElement final : public SVGFilterPrimitiveStandardAttributes {
public:
static Ref<SVGFEGaussianBlurElement> create(const QualifiedName&, Document&);
void setStdDeviation(float stdDeviationX, float stdDeviationY);
private:
SVGFEGaussianBlurElement(const QualifiedName&, Document&);
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual void svgAttributeChanged(const QualifiedName&) override;
virtual RefPtr<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