KHTML
Go to the documentation of this file.
   22 #ifndef SVGFEConvolveMatrix_h 
   23 #define SVGFEConvolveMatrix_h 
   25 #if ENABLE(SVG) && ENABLE(SVG_FILTERS) 
   30 enum SVGEdgeModeType {
 
   31     SVG_EDGEMODE_UNKNOWN   = 0,
 
   32     SVG_EDGEMODE_DUPLICATE = 1,
 
   33     SVG_EDGEMODE_WRAP      = 2,
 
   37 class 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; 
 
   80 #endif // ENABLE(SVG) && ENABLE(SVG_FILTERS) 
   82 #endif // SVGFEConvolveMatrix_h 
  
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.