SVGFETurbulenceElement.h [plain text]
#ifndef SVGFETurbulenceElement_h
#define SVGFETurbulenceElement_h
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "FETurbulence.h"
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedInteger.h"
#include "SVGAnimatedNumber.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
enum SVGStitchOptions {
SVG_STITCHTYPE_UNKNOWN = 0,
SVG_STITCHTYPE_STITCH = 1,
SVG_STITCHTYPE_NOSTITCH = 2
};
class SVGFETurbulenceElement : public SVGFilterPrimitiveStandardAttributes {
public:
static PassRefPtr<SVGFETurbulenceElement> create(const QualifiedName&, Document*);
private:
SVGFETurbulenceElement(const QualifiedName&, Document*);
virtual void parseMappedAttribute(Attribute*);
virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& attrName);
virtual void svgAttributeChanged(const QualifiedName&);
virtual void synchronizeProperty(const QualifiedName&);
virtual void fillAttributeToPropertyTypeMap();
virtual AttributeToPropertyTypeMap& attributeToPropertyTypeMap();
virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*);
static const AtomicString& baseFrequencyXIdentifier();
static const AtomicString& baseFrequencyYIdentifier();
DECLARE_ANIMATED_NUMBER(BaseFrequencyX, baseFrequencyX)
DECLARE_ANIMATED_NUMBER(BaseFrequencyY, baseFrequencyY)
DECLARE_ANIMATED_INTEGER(NumOctaves, numOctaves)
DECLARE_ANIMATED_NUMBER(Seed, seed)
DECLARE_ANIMATED_ENUMERATION(StitchTiles, stitchTiles)
DECLARE_ANIMATED_ENUMERATION(Type, type)
};
}
#endif // ENABLE(SVG)
#endif