KHTML
Go to the documentation of this file.
24#if ENABLE(SVG) && ENABLE(SVG_FILTERS)
26#include "TextStream.h"
30SVGFEBlend::SVGFEBlend(SVGResourceFilter* filter)
31 : SVGFilterEffect(filter)
32 , m_mode(SVG_FEBLEND_MODE_UNKNOWN)
36String SVGFEBlend::in2()
const
41void SVGFEBlend::setIn2(
const String& in2)
46SVGBlendModeType SVGFEBlend::blendMode()
const
51void SVGFEBlend::setBlendMode(SVGBlendModeType mode)
56static 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;
76TextStream& SVGFEBlend::externalRepresentation(TextStream& ts)
const
78 ts <<
"[type=BLEND] ";
79 SVGFilterEffect::externalRepresentation(ts);
81 ts <<
" [in2=\"" << m_in2 <<
"\"]";
82 ts <<
" [blend mode=" << m_mode <<
"]";
QDataStream & operator<<(QDataStream &d, const ActionReply &reply)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.