SVGComponentTransferFunctionElement.h [plain text]
#ifndef SVGComponentTransferFunctionElement_h
#define SVGComponentTransferFunctionElement_h
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "FEComponentTransfer.h"
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedNumber.h"
#include "SVGAnimatedNumberList.h"
namespace WebCore {
class SVGComponentTransferFunctionElement : public SVGElement {
public:
ComponentTransferFunction transferFunction() const;
protected:
SVGComponentTransferFunctionElement(const QualifiedName&, Document*);
virtual void parseMappedAttribute(Attribute*);
virtual void svgAttributeChanged(const QualifiedName&);
virtual void synchronizeProperty(const QualifiedName&);
virtual void fillAttributeToPropertyTypeMap();
virtual AttributeToPropertyTypeMap& attributeToPropertyTypeMap();
private:
DECLARE_ANIMATED_ENUMERATION(Type, type)
DECLARE_ANIMATED_NUMBER_LIST(TableValues, tableValues)
DECLARE_ANIMATED_NUMBER(Slope, slope)
DECLARE_ANIMATED_NUMBER(Intercept, intercept)
DECLARE_ANIMATED_NUMBER(Amplitude, amplitude)
DECLARE_ANIMATED_NUMBER(Exponent, exponent)
DECLARE_ANIMATED_NUMBER(Offset, offset)
};
}
#endif // ENABLE(SVG) && ENABLE(FILTERS)
#endif