SVGFEColorMatrixElement.h [plain text]
#ifndef SVGFEColorMatrixElement_h
#define SVGFEColorMatrixElement_h
#if ENABLE(SVG) && ENABLE(SVG_FILTERS)
#include "SVGFEColorMatrix.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore
{
class SVGNumberList;
class SVGFEColorMatrixElement : public SVGFilterPrimitiveStandardAttributes
{
public:
SVGFEColorMatrixElement(const QualifiedName&, Document*);
virtual ~SVGFEColorMatrixElement();
virtual void parseMappedAttribute(MappedAttribute*);
virtual SVGFEColorMatrix* filterEffect(SVGResourceFilter*) const;
protected:
virtual const SVGElement* contextElement() const { return this; }
private:
ANIMATED_PROPERTY_DECLARATIONS(SVGFEColorMatrixElement, String, String, In1, in1)
ANIMATED_PROPERTY_DECLARATIONS(SVGFEColorMatrixElement, int, int, Type, type)
ANIMATED_PROPERTY_DECLARATIONS(SVGFEColorMatrixElement, SVGNumberList*, RefPtr<SVGNumberList>, Values, values)
mutable SVGFEColorMatrix* m_filterEffect;
};
}
#endif // ENABLE(SVG)
#endif