Index: src/core/SkMatrixUtils.h |
diff --git a/src/core/SkMatrixUtils.h b/src/core/SkMatrixUtils.h |
index d1b6658d073bac5c3603f806e5f36e441bbf319e..f27083b496308f28031e256ce96758fd3b7f4290 100644 |
--- a/src/core/SkMatrixUtils.h |
+++ b/src/core/SkMatrixUtils.h |
@@ -16,6 +16,8 @@ |
*/ |
#define kSkSubPixelBitsForBilerp 4 |
+bool SkRectIsOnGrid(int width, int height, const SkRect& r, unsigned subpixelBits); |
+ |
/** |
* Given a matrix and width/height, return true if the computed dst-rect would |
* align such that there is a 1-to-1 coorspondence between src and dst pixels. |