KHTML
Go to the documentation of this file.
22 #ifndef SVGSpotLightSource_h
23 #define SVGSpotLightSource_h
25 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
26 #include "FloatPoint3D.h"
31 class SVGSpotLightSource :
public SVGLightSource {
33 SVGSpotLightSource(
const FloatPoint3D& position,
const FloatPoint3D& direction,
float specularExponent,
float limitingConeAngle)
34 : SVGLightSource(LS_SPOT)
35 , m_position(position)
36 , m_direction(direction)
37 , m_specularExponent(specularExponent)
38 , m_limitingConeAngle(limitingConeAngle)
41 const FloatPoint3D& position()
const {
return m_position; }
42 const FloatPoint3D& direction()
const {
return m_direction; }
44 float specularExponent()
const {
return m_specularExponent; }
45 float limitingConeAngle()
const {
return m_limitingConeAngle; }
47 virtual TextStream& externalRepresentation(TextStream&)
const;
50 FloatPoint3D m_position;
51 FloatPoint3D m_direction;
53 float m_specularExponent;
54 float m_limitingConeAngle;
59 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
61 #endif // SVGSpotLightSource_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.