diff options
author | Ben Wagner <bungeman@google.com> | 2018-02-15 10:20:04 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-22 20:55:05 +0000 |
commit | c912d6133c66df7cde3d64adc76941856a12da64 (patch) | |
tree | d930e2c70814d21347d5069089fa6f18c25ddcb8 /tools/sk_tool_utils.cpp | |
parent | 0f66681ff1c7a2b22d89424ba69e3a5bb8c40b0b (diff) |
Add color fonts.
BUG=skia:7624
Change-Id: Id2b7449048591892ff802484d5e3745a7e1402bb
Reviewed-on: https://skia-review.googlesource.com/109521
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Diffstat (limited to 'tools/sk_tool_utils.cpp')
-rw-r--r-- | tools/sk_tool_utils.cpp | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/tools/sk_tool_utils.cpp b/tools/sk_tool_utils.cpp index 2eb8dba833..99b03a4391 100644 --- a/tools/sk_tool_utils.cpp +++ b/tools/sk_tool_utils.cpp @@ -5,19 +5,29 @@ * found in the LICENSE file. */ -#include "sk_tool_utils.h" - -#include "Resources.h" #include "SkBitmap.h" +#include "SkBlendMode.h" #include "SkCanvas.h" +#include "SkColorData.h" +#include "SkColorPriv.h" +#include "SkFloatingPoint.h" #include "SkImage.h" -#include "SkPixelRef.h" +#include "SkMatrix.h" #include "SkPM4f.h" -#include "SkPoint3.h" +#include "SkPaint.h" +#include "SkPath.h" +#include "SkPixelRef.h" +#include "SkPixmap.h" +#include "SkPoint.h" +#include "SkRRect.h" #include "SkShader.h" #include "SkSurface.h" -#include "SkTestScalerContext.h" #include "SkTextBlob.h" +#include "sk_tool_utils.h" + +#include <cmath> +#include <cstring> +#include <memory> namespace sk_tool_utils { @@ -159,7 +169,7 @@ SkPath make_star(const SkRect& bounds, int numPts, int step) { #pragma optimize("", off) #endif void make_big_path(SkPath& path) { - #include "BigPathBench.inc" + #include "BigPathBench.inc" // IWYU pragma: keep } static float gaussian2d_value(int x, int y, float sigma) { |