KHTML
Go to the documentation of this file.
24 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
29 SVGFEColorMatrix::SVGFEColorMatrix(SVGResourceFilter* filter)
30 : SVGFilterEffect(filter)
31 , m_type(SVG_FECOLORMATRIX_TYPE_UNKNOWN)
35 SVGColorMatrixType SVGFEColorMatrix::type()
const
40 void SVGFEColorMatrix::setType(SVGColorMatrixType type)
45 const Vector<float>& SVGFEColorMatrix::values()
const
50 void SVGFEColorMatrix::setValues(
const Vector<float> &values)
55 static TextStream&
operator<<(TextStream& ts, SVGColorMatrixType t)
59 case SVG_FECOLORMATRIX_TYPE_UNKNOWN:
60 ts <<
"UNKNOWN";
break;
61 case SVG_FECOLORMATRIX_TYPE_MATRIX:
62 ts <<
"CMT_MATRIX";
break;
63 case SVG_FECOLORMATRIX_TYPE_SATURATE:
64 ts <<
"CMT_SATURATE";
break;
65 case SVG_FECOLORMATRIX_TYPE_HUEROTATE:
66 ts <<
"HUE-ROTATE";
break;
67 case SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA:
68 ts <<
"LUMINANCE-TO-ALPHA";
break;
73 TextStream& SVGFEColorMatrix::externalRepresentation(TextStream& ts)
const
75 ts <<
"[type=COLOR-MATRIX] ";
76 SVGFilterEffect::externalRepresentation(ts);
77 ts <<
" [color matrix type=" << type() <<
"]"
78 <<
" [values=" << values() <<
"]";
84 #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.