SVGFEColorMatrixElement.h [plain text]
#ifndef SVGFEColorMatrixElement_h
#define SVGFEColorMatrixElement_h
#if ENABLE(SVG) && ENABLE(SVG_FILTERS)
#include "FEColorMatrix.h"
#include "SVGFilterPrimitiveStandardAttributes.h"
#include "SVGNumberList.h"
namespace WebCore {
class SVGFEColorMatrixElement : public SVGFilterPrimitiveStandardAttributes {
public:
SVGFEColorMatrixElement(const QualifiedName&, Document*);
virtual ~SVGFEColorMatrixElement();
virtual void parseMappedAttribute(MappedAttribute*);
virtual SVGFilterEffect* filterEffect(SVGResourceFilter*) const;
bool build(FilterBuilder*);
private:
ANIMATED_PROPERTY_DECLARATIONS(SVGFEColorMatrixElement, SVGNames::feColorMatrixTagString, SVGNames::inAttrString, String, In1, in1)
ANIMATED_PROPERTY_DECLARATIONS(SVGFEColorMatrixElement, SVGNames::feColorMatrixTagString, SVGNames::typeAttrString, int, Type, type)
ANIMATED_PROPERTY_DECLARATIONS(SVGFEColorMatrixElement, SVGNames::feColorMatrixTagString, SVGNames::valuesAttrString, SVGNumberList, Values, values)
mutable RefPtr<FEColorMatrix> m_filterEffect;
};
}
#endif // ENABLE(SVG)
#endif