Index: include/core/SkImageFilter.h |
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h |
index 0595010c6fba0321262feca28b887ce3bf272649..0a3f7b8492d6bfd273b4db5e57d9ff903f556d08 100644 |
--- a/include/core/SkImageFilter.h |
+++ b/include/core/SkImageFilter.h |
@@ -236,6 +236,13 @@ public: |
SkFilterQuality, |
SkImageFilter* input = NULL); |
+ /** |
+ * Create an SkLocalMatrixImageFilter, which transform the filter parameters |
+ * of its inputs by the given matrix. |
+ */ |
+ static SkImageFilter* CreateLocalMatrixFilter(const SkMatrix& matrix, |
+ SkImageFilter* input); |
+ |
#if SK_SUPPORT_GPU |
/** |
* Wrap the given texture in a texture-backed SkBitmap. |