SVGComponentTransferFunctionElement.h [plain text]
#ifndef SVGComponentTransferFunctionElement_h
#define SVGComponentTransferFunctionElement_h
#if ENABLE(SVG) && ENABLE(SVG_FILTERS)
#include "SVGElement.h"
#include "SVGFEComponentTransfer.h"
namespace WebCore
{
class SVGNumberList;
class SVGComponentTransferFunctionElement : public SVGElement
{
public:
SVGComponentTransferFunctionElement(const QualifiedName&, Document*);
virtual ~SVGComponentTransferFunctionElement();
virtual void parseMappedAttribute(MappedAttribute* attr);
SVGComponentTransferFunction transferFunction() const;
private:
ANIMATED_PROPERTY_DECLARATIONS(SVGComponentTransferFunctionElement, int, int, Type, type)
ANIMATED_PROPERTY_DECLARATIONS(SVGComponentTransferFunctionElement, SVGNumberList*, RefPtr<SVGNumberList>, TableValues, tableValues)
ANIMATED_PROPERTY_DECLARATIONS(SVGComponentTransferFunctionElement, float, float, Slope, slope)
ANIMATED_PROPERTY_DECLARATIONS(SVGComponentTransferFunctionElement, float, float, Intercept, intercept)
ANIMATED_PROPERTY_DECLARATIONS(SVGComponentTransferFunctionElement, float, float, Amplitude, amplitude)
ANIMATED_PROPERTY_DECLARATIONS(SVGComponentTransferFunctionElement, float, float, Exponent, exponent)
ANIMATED_PROPERTY_DECLARATIONS(SVGComponentTransferFunctionElement, float, float, Offset, offset)
};
}
#endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
#endif