Index: include/core/SkScalar.h |
diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h |
index 84b53c85751630a60c35e28b72b0a684c03d7f62..a18775457ebeabf7295cd3e3bfd76382aae08d4f 100644 |
--- a/include/core/SkScalar.h |
+++ b/include/core/SkScalar.h |
@@ -34,6 +34,7 @@ typedef float SkScalar; |
#define SkFixedToScalar(x) SkFixedToFloat(x) |
#define SkScalarToFixed(x) SkFloatToFixed(x) |
+#define SkScalarPinToFixed(x) SkFloatPinToFixed(x) |
#define SkScalarFloorToScalar(x) sk_float_floor(x) |
#define SkScalarCeilToScalar(x) sk_float_ceil(x) |
@@ -77,6 +78,7 @@ typedef double SkScalar; |
#define SkFixedToScalar(x) SkFixedToDouble(x) |
#define SkScalarToFixed(x) SkDoubleToFixed(x) |
+#define SkScalarPinToFixed(x) SkDoublePinToFixed(x) |
#define SkScalarFloorToScalar(x) floor(x) |
#define SkScalarCeilToScalar(x) ceil(x) |