SVGFEDisplacementMapElement.h [plain text]
#ifndef KSVG_SVGFEDisplacementMapElementImpl_H
#define KSVG_SVGFEDisplacementMapElementImpl_H
#if SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "KCanvasFilters.h"
namespace WebCore {
class SVGAnimatedNumber;
class SVGAnimatedString;
class SVGAnimatedEnumeration;
class SVGFEDisplacementMapElement : public SVGFilterPrimitiveStandardAttributes {
public:
SVGFEDisplacementMapElement(const QualifiedName& tagName, Document*);
virtual ~SVGFEDisplacementMapElement();
SVGAnimatedString* in1() const;
SVGAnimatedString* in2() const;
SVGAnimatedEnumeration* xChannelSelector() const;
SVGAnimatedEnumeration* yChannelSelector() const;
SVGAnimatedNumber* scale() const;
static KCChannelSelectorType stringToChannel(const String&);
virtual void parseMappedAttribute(MappedAttribute*);
virtual KCanvasFEDisplacementMap* filterEffect() const;
private:
mutable RefPtr<SVGAnimatedString> m_in1;
mutable RefPtr<SVGAnimatedString> m_in2;
mutable RefPtr<SVGAnimatedEnumeration> m_xChannelSelector;
mutable RefPtr<SVGAnimatedEnumeration> m_yChannelSelector;
mutable RefPtr<SVGAnimatedNumber> m_scale;
mutable KCanvasFEDisplacementMap* m_filterEffect;
};
}
#endif // SVG_SUPPORT
#endif // KSVG_SVGFEDisplacementMapElementImpl_H