SVGFETurbulenceElement.h [plain text]
#ifndef KSVG_SVGFETurbulenceElementImpl_H
#define KSVG_SVGFETurbulenceElementImpl_H
#if SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
namespace WebCore
{
class SVGAnimatedInteger;
class SVGAnimatedNumber;
class SVGAnimatedEnumeration;
class SVGFETurbulenceElement : public SVGFilterPrimitiveStandardAttributes
{
public:
SVGFETurbulenceElement(const QualifiedName&, Document*);
virtual ~SVGFETurbulenceElement();
SVGAnimatedNumber *baseFrequencyX() const;
SVGAnimatedNumber *baseFrequencyY() const;
SVGAnimatedInteger *numOctaves() const;
SVGAnimatedNumber *seed() const;
SVGAnimatedEnumeration *stitchTiles() const;
SVGAnimatedEnumeration *type() const;
virtual void parseMappedAttribute(MappedAttribute *attr);
virtual KCanvasFETurbulence *filterEffect() const;
private:
mutable RefPtr<SVGAnimatedNumber> m_baseFrequencyX;
mutable RefPtr<SVGAnimatedNumber> m_baseFrequencyY;
mutable RefPtr<SVGAnimatedInteger> m_numOctaves;
mutable RefPtr<SVGAnimatedNumber> m_seed;
mutable RefPtr<SVGAnimatedEnumeration> m_stitchTiles;
mutable RefPtr<SVGAnimatedEnumeration> m_type;
mutable KCanvasFETurbulence *m_filterEffect;
};
};
#endif // SVG_SUPPORT
#endif