FEDiffuseLighting.h [plain text]
#ifndef FEDiffuseLighting_h
#define FEDiffuseLighting_h
#include "FELighting.h"
namespace WebCore {
class LightSource;
class FEDiffuseLighting : public FELighting {
public:
static Ref<FEDiffuseLighting> create(Filter&, const Color&, float, float, float, float, Ref<LightSource>&&);
virtual ~FEDiffuseLighting();
const Color& lightingColor() const;
bool setLightingColor(const Color&);
float surfaceScale() const;
bool setSurfaceScale(float);
float diffuseConstant() const;
bool setDiffuseConstant(float);
float kernelUnitLengthX() const;
bool setKernelUnitLengthX(float);
float kernelUnitLengthY() const;
bool setKernelUnitLengthY(float);
const LightSource& lightSource() const;
void dump() override;
TextStream& externalRepresentation(TextStream&, int indention) const override;
private:
FEDiffuseLighting(Filter&, const Color&, float, float, float, float, Ref<LightSource>&&);
};
}
#endif // FEDiffuseLighting_h