From cb3d49c5f2ad1d4100a686cc4940f4acce74a12e Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Wed, 14 Mar 2018 15:07:43 -0400 Subject: Some iwyu for tests which will otherwise break. A change currently in progress would break these test files since they aren't including what they use. Make them include what they use so they don't break in the future. Change-Id: I25d8d57631706dec0d0197b3759c6c18a0fe3aa0 Reviewed-on: https://skia-review.googlesource.com/114465 Reviewed-by: Herb Derby Commit-Queue: Ben Wagner --- samplecode/SampleQuadStroker.cpp | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) (limited to 'samplecode/SampleQuadStroker.cpp') diff --git a/samplecode/SampleQuadStroker.cpp b/samplecode/SampleQuadStroker.cpp index 59d6ed5a1e..6d17026fea 100644 --- a/samplecode/SampleQuadStroker.cpp +++ b/samplecode/SampleQuadStroker.cpp @@ -5,18 +5,35 @@ * found in the LICENSE file. */ -#include "sk_tool_utils.h" #include "SampleCode.h" -#include "SkView.h" +#include "SkBlendMode.h" #include "SkCanvas.h" +#include "SkColor.h" #include "SkGeometry.h" +#include "SkImageInfo.h" +#include "SkMatrix.h" +#include "SkPaint.h" +#include "SkPath.h" #include "SkPathMeasure.h" +#include "SkPoint.h" #include "SkPointPriv.h" -#include "SkRandom.h" #include "SkRRect.h" -#include "SkColorPriv.h" -#include "SkStrokerPriv.h" +#include "SkRect.h" +#include "SkRefCnt.h" +#include "SkScalar.h" +#include "SkShader.h" +#include "SkString.h" +#include "SkStroke.h" #include "SkSurface.h" +#include "SkTArray.h" +#include "SkTemplates.h" +#include "SkTypes.h" +#include "SkView.h" +#include "sk_tool_utils.h" + +#include + +class SkEvent; static bool hittest(const SkPoint& target, SkScalar x, SkScalar y) { const SkScalar TOL = 7; -- cgit v1.2.3