KHTML
Go to the documentation of this file.
24 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
26 #include "TextStream.h"
30 SVGFEMorphology::SVGFEMorphology(SVGResourceFilter* filter)
31 : SVGFilterEffect(filter)
32 , m_operator(SVG_MORPHOLOGY_OPERATOR_UNKNOWN)
38 SVGMorphologyOperatorType SVGFEMorphology::morphologyOperator()
const
43 void SVGFEMorphology::setMorphologyOperator(SVGMorphologyOperatorType _operator)
45 m_operator = _operator;
48 float SVGFEMorphology::radiusX()
const
53 void SVGFEMorphology::setRadiusX(
float radiusX)
58 float SVGFEMorphology::radiusY()
const
63 void SVGFEMorphology::setRadiusY(
float radiusY)
68 static TextStream&
operator<<(TextStream& ts, SVGMorphologyOperatorType t)
72 case SVG_MORPHOLOGY_OPERATOR_UNKNOWN:
73 ts <<
"UNKNOWN";
break;
74 case SVG_MORPHOLOGY_OPERATOR_ERODE:
76 case SVG_MORPHOLOGY_OPERATOR_DIALATE:
77 ts <<
"DIALATE";
break;
82 TextStream& SVGFEMorphology::externalRepresentation(TextStream& ts)
const
84 ts <<
"[type=MORPHOLOGY-OPERATOR] ";
85 SVGFilterEffect::externalRepresentation(ts);
86 ts <<
" [operator type=" << morphologyOperator() <<
"]"
87 <<
" [radius x=" << radiusX() <<
" y=" << radiusY() <<
"]";
93 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
QDebug operator<<(QDebug s, KDebugStreamFunction f)
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.