KHTML
Go to the documentation of this file.
22 #ifndef SVGFEColorMatrix_h
23 #define SVGFEColorMatrix_h
25 #if ENABLE(SVG) && ENABLE(SVG_FILTERS)
27 #include "SVGRenderTreeAsText.h"
31 enum SVGColorMatrixType {
32 SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0,
33 SVG_FECOLORMATRIX_TYPE_MATRIX = 1,
34 SVG_FECOLORMATRIX_TYPE_SATURATE = 2,
35 SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3,
36 SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4
39 class SVGFEColorMatrix :
public SVGFilterEffect {
41 SVGFEColorMatrix(SVGResourceFilter*);
43 SVGColorMatrixType type()
const;
44 void setType(SVGColorMatrixType);
46 const Vector<float>& values()
const;
47 void setValues(
const Vector<float>&);
49 virtual TextStream& externalRepresentation(TextStream&)
const;
52 virtual CIFilter* getCIFilter(
const FloatRect& bbox)
const;
56 SVGColorMatrixType m_type;
57 Vector<float> m_values;
62 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS)
64 #endif // SVGFEColorMatrix_h
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.