23 #ifndef SVGFETurbulenceElement_h
24 #define SVGFETurbulenceElement_h
26 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
32 enum SVGStitchOptions {
33 SVG_STITCHTYPE_UNKNOWN = 0,
34 SVG_STITCHTYPE_STITCH = 1,
35 SVG_STITCHTYPE_NOSTITCH = 2
38 class SVGFETurbulenceElement :
public SVGFilterPrimitiveStandardAttributes
41 SVGFETurbulenceElement(
const QualifiedName&, Document*);
42 virtual ~SVGFETurbulenceElement();
44 virtual void parseMappedAttribute(MappedAttribute*);
45 virtual SVGFETurbulence* filterEffect(SVGResourceFilter*)
const;
48 virtual const SVGElement* contextElement()
const {
return this; }
51 ANIMATED_PROPERTY_DECLARATIONS(SVGFETurbulenceElement,
float,
float, BaseFrequencyX, baseFrequencyX)
52 ANIMATED_PROPERTY_DECLARATIONS(SVGFETurbulenceElement,
float,
float, BaseFrequencyY, baseFrequencyY)
53 ANIMATED_PROPERTY_DECLARATIONS(SVGFETurbulenceElement,
long,
long, NumOctaves, numOctaves)
54 ANIMATED_PROPERTY_DECLARATIONS(SVGFETurbulenceElement,
float,
float, Seed, seed)
55 ANIMATED_PROPERTY_DECLARATIONS(SVGFETurbulenceElement,
int,
int, StitchTiles, stitchTiles)
56 ANIMATED_PROPERTY_DECLARATIONS(SVGFETurbulenceElement,
int,
int,
Type, type)
58 mutable SVGFETurbulence* m_filterEffect;