diff options
author | scroggo <scroggo@google.com> | 2014-12-02 12:30:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-02 12:30:38 -0800 |
commit | ca0e67261e8d04d1276c3b9b176baaca0b3c03da (patch) | |
tree | 786e835f6ebab1a523f2a7ca6fa81c52b8def22d /include/core/SkScalar.h | |
parent | 2fb352abebc342a322d4a66c054bbff8bd565767 (diff) |
Remove SK_SUPPORT_DEPRECATED_SCALARROUND.
Our clients no longer require it.
Review URL: https://codereview.chromium.org/772933002
Diffstat (limited to 'include/core/SkScalar.h')
-rw-r--r-- | include/core/SkScalar.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/core/SkScalar.h b/include/core/SkScalar.h index feea687d0a..e0490e2b0b 100644 --- a/include/core/SkScalar.h +++ b/include/core/SkScalar.h @@ -11,8 +11,6 @@ #include "SkFixed.h" #include "SkFloatingPoint.h" -//#define SK_SUPPORT_DEPRECATED_SCALARROUND - // TODO: move this sort of check into SkPostConfig.h #define SK_SCALAR_IS_DOUBLE 0 #undef SK_SCALAR_IS_FLOAT @@ -183,13 +181,6 @@ static inline bool SkScalarIsInt(SkScalar x) { return x == (SkScalar)(int)x; } -// DEPRECATED : use ToInt or ToScalar variant -#ifdef SK_SUPPORT_DEPRECATED_SCALARROUND -# define SkScalarFloor(x) SkScalarFloorToInt(x) -# define SkScalarCeil(x) SkScalarCeilToInt(x) -# define SkScalarRound(x) SkScalarRoundToInt(x) -#endif - /** * Returns -1 || 0 || 1 depending on the sign of value: * -1 if x < 0 |