Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1071)

Unified Diff: Source/platform/graphics/filters/FEConvolveMatrix.h

Issue 1354923003: Remove kernelUnitLength plumbing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More TEs Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/platform/graphics/filters/FEConvolveMatrix.h
diff --git a/Source/platform/graphics/filters/FEConvolveMatrix.h b/Source/platform/graphics/filters/FEConvolveMatrix.h
index b29b0a766f0c940e6b4d81ce2be015913e80f536..07be8dab0652629f79f1f9a166526df0267f87c7 100644
--- a/Source/platform/graphics/filters/FEConvolveMatrix.h
+++ b/Source/platform/graphics/filters/FEConvolveMatrix.h
@@ -24,8 +24,8 @@
#ifndef FEConvolveMatrix_h
#define FEConvolveMatrix_h
-#include "platform/geometry/FloatPoint.h"
-#include "platform/geometry/FloatSize.h"
+#include "platform/geometry/IntPoint.h"
+#include "platform/geometry/IntSize.h"
#include "platform/graphics/filters/Filter.h"
#include "platform/graphics/filters/FilterEffect.h"
#include "wtf/Vector.h"
@@ -42,8 +42,7 @@ enum EdgeModeType {
class PLATFORM_EXPORT FEConvolveMatrix : public FilterEffect {
public:
static PassRefPtrWillBeRawPtr<FEConvolveMatrix> create(Filter*, const IntSize&,
- float, float, const IntPoint&, EdgeModeType, const FloatPoint&,
- bool, const Vector<float>&);
+ float, float, const IntPoint&, EdgeModeType, bool, const Vector<float>&);
IntSize kernelSize() const;
void setKernelSize(const IntSize&);
@@ -63,9 +62,6 @@ public:
EdgeModeType edgeMode() const;
bool setEdgeMode(EdgeModeType);
- FloatPoint kernelUnitLength() const;
- bool setKernelUnitLength(const FloatPoint&);
-
bool preserveAlpha() const;
bool setPreserveAlpha(bool);
@@ -76,16 +72,14 @@ public:
TextStream& externalRepresentation(TextStream&, int indention) const override;
private:
-
FEConvolveMatrix(Filter*, const IntSize&, float, float,
- const IntPoint&, EdgeModeType, const FloatPoint&, bool, const Vector<float>&);
+ const IntPoint&, EdgeModeType, bool, const Vector<float>&);
IntSize m_kernelSize;
float m_divisor;
float m_bias;
IntPoint m_targetOffset;
EdgeModeType m_edgeMode;
- FloatPoint m_kernelUnitLength;
bool m_preserveAlpha;
Vector<float> m_kernelMatrix;
};
« no previous file with comments | « Source/core/svg/SVGFESpecularLightingElement.cpp ('k') | Source/platform/graphics/filters/FEConvolveMatrix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698