Index: include/core/SkScalar.h |
diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h |
index b2d966cb3bbf79daba3cdd5beb6b4728afd0b2a2..922840fd1af52bb90f43a00e920e9cc008e00da7 100644 |
--- a/include/core/SkScalar.h |
+++ b/include/core/SkScalar.h |
@@ -101,6 +101,7 @@ typedef double SkScalar; |
////////////////////////////////////////////////////////////////////////////////////////////////// |
#define SkIntToScalar(x) static_cast<SkScalar>(x) |
+#define SkIntToFloat(x) static_cast<float>(x) |
#define SkScalarTruncToInt(x) static_cast<int>(x) |
#define SkScalarToFloat(x) static_cast<float>(x) |