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