KHTML
Go to the documentation of this file.
22#ifndef SVGFEConvolveMatrix_h
23#define SVGFEConvolveMatrix_h
25#if ENABLE(SVG) && ENABLE(SVG_FILTERS)
31 SVG_EDGEMODE_UNKNOWN = 0,
32 SVG_EDGEMODE_DUPLICATE = 1,
33 SVG_EDGEMODE_WRAP = 2,
37class SVGFEConvolveMatrix :
public SVGFilterEffect {
39 SVGFEConvolveMatrix(SVGResourceFilter*);
41 FloatSize kernelSize()
const;
42 void setKernelSize(FloatSize);
44 const Vector<float>& kernel()
const;
45 void setKernel(
const Vector<float>&);
47 float divisor()
const;
48 void setDivisor(
float);
53 FloatSize targetOffset()
const;
54 void setTargetOffset(FloatSize);
56 SVGEdgeModeType edgeMode()
const;
57 void setEdgeMode(SVGEdgeModeType);
59 FloatPoint kernelUnitLength()
const;
60 void setKernelUnitLength(FloatPoint);
62 bool preserveAlpha()
const;
63 void setPreserveAlpha(
bool);
65 virtual TextStream& externalRepresentation(TextStream&)
const;
68 FloatSize m_kernelSize;
71 FloatSize m_targetOffset;
72 SVGEdgeModeType m_edgeMode;
73 FloatPoint m_kernelUnitLength;
75 Vector<float> m_kernelMatrix;
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.