KHTML
Go to the documentation of this file.
24 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
28 #include "TextStream.h"
32 SVGFEImage::SVGFEImage(SVGResourceFilter* filter)
33 : SVGFilterEffect(filter)
38 SVGFEImage::~SVGFEImage()
41 m_cachedImage->removeClient(
this);
44 CachedImage* SVGFEImage::cachedImage()
const
49 void SVGFEImage::setCachedImage(CachedImage* image)
51 if (m_cachedImage == image)
55 m_cachedImage->removeClient(
this);
57 m_cachedImage = image;
60 m_cachedImage->addClient(
this);
63 TextStream& SVGFEImage::externalRepresentation(TextStream& ts)
const
65 ts <<
"[type=IMAGE] ";
66 SVGFilterEffect::externalRepresentation(ts);
72 void SVGFEImage::imageChanged(CachedImage*)
74 if (SVGResourceFilter* filterResource = filter())
75 filterResource->invalidate();
80 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
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.