diff options
author | Ben Wagner <bungeman@google.com> | 2018-03-14 15:07:43 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-14 21:07:15 +0000 |
commit | cb3d49c5f2ad1d4100a686cc4940f4acce74a12e (patch) | |
tree | 7b1aecc143302d2e16f4829b244417eb369e4760 /samplecode/SampleQuadStroker.cpp | |
parent | 3eda0bf4bf006bd826824e41011a7b7438bf8dcb (diff) |
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 <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'samplecode/SampleQuadStroker.cpp')
-rw-r--r-- | samplecode/SampleQuadStroker.cpp | 27 |
1 files changed, 22 insertions, 5 deletions
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 <cfloat> + +class SkEvent; static bool hittest(const SkPoint& target, SkScalar x, SkScalar y) { const SkScalar TOL = 7; |