KHTML
Go to the documentation of this file.
24 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
25 #include "SVGRenderTreeAsText.h"
30 SVGFEDisplacementMap::SVGFEDisplacementMap(SVGResourceFilter* filter)
31 : SVGFilterEffect(filter)
32 , m_xChannelSelector(SVG_CHANNEL_UNKNOWN)
33 , m_yChannelSelector(SVG_CHANNEL_UNKNOWN)
38 String SVGFEDisplacementMap::in2()
const
43 void SVGFEDisplacementMap::setIn2(
const String &in2)
48 SVGChannelSelectorType SVGFEDisplacementMap::xChannelSelector()
const
50 return m_xChannelSelector;
53 void SVGFEDisplacementMap::setXChannelSelector(
const SVGChannelSelectorType xChannelSelector)
55 m_xChannelSelector = xChannelSelector;
58 SVGChannelSelectorType SVGFEDisplacementMap::yChannelSelector()
const
60 return m_yChannelSelector;
63 void SVGFEDisplacementMap::setYChannelSelector(
const SVGChannelSelectorType yChannelSelector)
65 m_yChannelSelector = yChannelSelector;
68 float SVGFEDisplacementMap::scale()
const
73 void SVGFEDisplacementMap::setScale(
float scale)
78 static TextStream&
operator<<(TextStream& ts, SVGChannelSelectorType t)
82 case SVG_CHANNEL_UNKNOWN:
83 ts <<
"UNKNOWN";
break;
96 TextStream& SVGFEDisplacementMap::externalRepresentation(TextStream& ts)
const
98 ts <<
"[type=DISPLACEMENT-MAP] ";
99 SVGFilterEffect::externalRepresentation(ts);
100 if (!in2().isEmpty())
101 ts <<
" [in2=" << in2() <<
"]";
102 ts <<
" [scale=" << m_scale <<
"]"
103 <<
" [x channel selector=" << m_xChannelSelector <<
"]"
104 <<
" [y channel selector=" << m_yChannelSelector <<
"]";
110 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
QDebug operator<<(QDebug s, KDebugStreamFunction f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.