From d3b933f3e03d5c22e9e7c56d2110469e41509720 Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Thu, 15 Feb 2018 10:20:04 -0500 Subject: Add color fonts. BUG=skia:7624 Change-Id: I1d0974282adce2fd7b13a003309e63593b6e1a9c Reviewed-on: https://skia-review.googlesource.com/109521 Commit-Queue: Ben Wagner Reviewed-by: Mike Klein Reviewed-by: Herb Derby Reviewed-on: https://skia-review.googlesource.com/116541 --- tools/sk_tool_utils.cpp | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'tools/sk_tool_utils.cpp') 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 +#include +#include 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) { -- cgit v1.2.3