KHTML
SVGFEDistantLightElement.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "config.h"
00021
00022 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
00023 #include "SVGFEDistantLightElement.h"
00024 #include "SVGDistantLightSource.h"
00025
00026 namespace WebCore {
00027
00028 SVGFEDistantLightElement::SVGFEDistantLightElement(const QualifiedName& tagName, Document* doc)
00029 : SVGFELightElement(tagName, doc)
00030 {
00031 }
00032
00033 SVGFEDistantLightElement::~SVGFEDistantLightElement()
00034 {
00035 }
00036
00037 SVGLightSource* SVGFEDistantLightElement::lightSource() const
00038 {
00039 return new SVGDistantLightSource(azimuth(), elevation());
00040 }
00041
00042 }
00043
00044 #endif // ENABLE(SVG)