SVGComponentTransferFunctionElement.h [plain text]
#ifndef KSVG_SVGComponentTransferFunctionElementImpl_H
#define KSVG_SVGComponentTransferFunctionElementImpl_H
#if SVG_SUPPORT
#include "SVGElement.h"
#include "KCanvasFilters.h"
namespace WebCore
{
class SVGAnimatedNumber;
class SVGAnimatedNumberList;
class SVGAnimatedEnumeration;
class SVGComponentTransferFunctionElement : public SVGElement
{
public:
SVGComponentTransferFunctionElement(const QualifiedName&, Document*);
virtual ~SVGComponentTransferFunctionElement();
SVGAnimatedEnumeration *type() const;
SVGAnimatedNumberList *tableValues() const;
SVGAnimatedNumber *slope() const;
SVGAnimatedNumber *intercept() const;
SVGAnimatedNumber *amplitude() const;
SVGAnimatedNumber *exponent() const;
SVGAnimatedNumber *offset() const;
virtual void parseMappedAttribute(MappedAttribute *attr);
KCComponentTransferFunction transferFunction() const;
private:
mutable RefPtr<SVGAnimatedEnumeration> m_type;
mutable RefPtr<SVGAnimatedNumberList> m_tableValues;
mutable RefPtr<SVGAnimatedNumber> m_slope;
mutable RefPtr<SVGAnimatedNumber> m_intercept;
mutable RefPtr<SVGAnimatedNumber> m_amplitude;
mutable RefPtr<SVGAnimatedNumber> m_exponent;
mutable RefPtr<SVGAnimatedNumber> m_offset;
};
};
#endif // SVG_SUPPORT
#endif