KHTML
Go to the documentation of this file.
22 #ifndef SVGFEDiffuseLighting_h
23 #define SVGFEDiffuseLighting_h
25 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
33 class SVGFEDiffuseLighting :
public SVGFilterEffect {
35 SVGFEDiffuseLighting(SVGResourceFilter*);
36 virtual ~SVGFEDiffuseLighting();
38 Color lightingColor()
const;
39 void setLightingColor(
const Color&);
41 float surfaceScale()
const;
42 void setSurfaceScale(
float);
44 float diffuseConstant()
const;
45 void setDiffuseConstant(
float);
47 float kernelUnitLengthX()
const;
48 void setKernelUnitLengthX(
float);
50 float kernelUnitLengthY()
const;
51 void setKernelUnitLengthY(
float);
53 const SVGLightSource* lightSource()
const;
54 void setLightSource(SVGLightSource*);
56 virtual TextStream& externalRepresentation(TextStream&)
const;
59 virtual CIFilter* getCIFilter(
const FloatRect& bbox)
const;
63 Color m_lightingColor;
65 float m_diffuseConstant;
66 float m_kernelUnitLengthX;
67 float m_kernelUnitLengthY;
68 SVGLightSource* m_lightSource;
73 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
75 #endif // SVGFEDiffuseLighting_h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.