diff options
author | Mike Reed <reed@google.com> | 2017-02-13 20:44:33 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-14 14:43:47 +0000 |
commit | 8be952ad8c9deefe19cff36f9ad217563400f817 (patch) | |
tree | 3879f25fb86ed01ffd3817b510bd8a63423f9e8d /src/core/SkPaintPriv.h | |
parent | 351549febad86d785aab6c985c9489d55a0bd2a4 (diff) |
SkScalarMul is deprecated
BUG=skia:
Change-Id: I88ecfe9d4c72506f6b1a0e0dfadd2a5c171a6cb6
Reviewed-on: https://skia-review.googlesource.com/8353
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'src/core/SkPaintPriv.h')
-rw-r--r-- | src/core/SkPaintPriv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/SkPaintPriv.h b/src/core/SkPaintPriv.h index 1cf404075b..de8e6c73fa 100644 --- a/src/core/SkPaintPriv.h +++ b/src/core/SkPaintPriv.h @@ -8,11 +8,10 @@ #ifndef SkPaintPriv_DEFINED #define SkPaintPriv_DEFINED -#include "SkTypes.h" +#include "SkPaint.h" class SkBitmap; class SkImage; -class SkPaint; class SkPaintPriv { public: @@ -45,6 +44,8 @@ public: * pixels. */ static bool Overwrites(const SkImage*, const SkPaint* paint); + + static void ScaleFontMetrics(SkPaint::FontMetrics*, SkScalar); }; #endif |