KHTML
Go to the documentation of this file.
24 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
26 #include "TextStream.h"
30 SVGFEBlend::SVGFEBlend(SVGResourceFilter* filter)
31 : SVGFilterEffect(filter)
32 , m_mode(SVG_FEBLEND_MODE_UNKNOWN)
36 String SVGFEBlend::in2()
const
41 void SVGFEBlend::setIn2(
const String& in2)
46 SVGBlendModeType SVGFEBlend::blendMode()
const
51 void SVGFEBlend::setBlendMode(SVGBlendModeType mode)
56 static TextStream&
operator<<(TextStream& ts, SVGBlendModeType t)
60 case SVG_FEBLEND_MODE_UNKNOWN:
61 ts <<
"UNKNOWN";
break;
62 case SVG_FEBLEND_MODE_NORMAL:
63 ts <<
"NORMAL";
break;
64 case SVG_FEBLEND_MODE_MULTIPLY:
65 ts <<
"MULTIPLY";
break;
66 case SVG_FEBLEND_MODE_SCREEN:
67 ts <<
"SCREEN";
break;
68 case SVG_FEBLEND_MODE_DARKEN:
69 ts <<
"DARKEN";
break;
70 case SVG_FEBLEND_MODE_LIGHTEN:
71 ts <<
"LIGHTEN";
break;
76 TextStream& SVGFEBlend::externalRepresentation(TextStream& ts)
const
78 ts <<
"[type=BLEND] ";
79 SVGFilterEffect::externalRepresentation(ts);
81 ts <<
" [in2=\"" << m_in2 <<
"\"]";
82 ts <<
" [blend mode=" << m_mode <<
"]";
88 #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.