SVGFEDiffuseLightingElement.h [plain text]
#ifndef KSVG_SVGFEDiffuseLightingElementImpl_H
#define KSVG_SVGFEDiffuseLightingElementImpl_H
#if SVG_SUPPORT
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class KCanvasFEDiffuseLighting;
class SVGAnimatedNumber;
class SVGAnimatedString;
class SVGAnimatedColor;
class SVGFEDiffuseLightingElement : public SVGFilterPrimitiveStandardAttributes
{
public:
SVGFEDiffuseLightingElement(const QualifiedName&, Document*);
virtual ~SVGFEDiffuseLightingElement();
SVGAnimatedString *in1() const;
SVGAnimatedNumber *diffuseConstant() const;
SVGAnimatedNumber *surfaceScale() const;
SVGAnimatedNumber *kernelUnitLengthX() const;
SVGAnimatedNumber *kernelUnitLengthY() const;
SVGAnimatedColor *lightingColor() const;
virtual void parseMappedAttribute(MappedAttribute *attr);
virtual KCanvasFEDiffuseLighting *filterEffect() const;
private:
mutable RefPtr<SVGAnimatedString> m_in1;
mutable RefPtr<SVGAnimatedNumber> m_diffuseConstant;
mutable RefPtr<SVGAnimatedNumber> m_surfaceScale;
mutable RefPtr<SVGAnimatedColor> m_lightingColor;
mutable RefPtr<SVGAnimatedNumber> m_kernelUnitLengthX;
mutable RefPtr<SVGAnimatedNumber> m_kernelUnitLengthY;
mutable KCanvasFEDiffuseLighting *m_filterEffect;
void updateLights() const;
};
};
#endif // SVG_SUPPORT
#endif