aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-08-05 13:57:49 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-05 13:57:49 -0700
commitd3ebb48320cf1b7e969974673e4bd7743816985e (patch)
treee04b7777f0292dacf074563762c1f648328f74d7 /samplecode
parent59cd36765c10f6451f72ffde446b9ae8ce5599c8 (diff)
IWYU: 'core' target, files starting A-C.
Diffstat (limited to 'samplecode')
-rw-r--r--samplecode/SampleAAClip.cpp5
-rw-r--r--samplecode/SampleChart.cpp1
-rw-r--r--samplecode/SampleCircle.cpp5
-rw-r--r--samplecode/SampleClip.cpp1
-rw-r--r--samplecode/SampleClipDrawMatch.cpp2
-rw-r--r--samplecode/SampleClock.cpp1
-rw-r--r--samplecode/SampleDitherBitmap.cpp7
-rw-r--r--samplecode/SampleEmptyPath.cpp3
-rw-r--r--samplecode/SampleFilterQuality.cpp1
-rw-r--r--samplecode/SampleIdentityScale.cpp1
-rw-r--r--samplecode/SampleLayerMask.cpp3
-rw-r--r--samplecode/SamplePathFuzz.cpp1
-rw-r--r--samplecode/SampleShaderText.cpp3
-rw-r--r--samplecode/SampleStringArt.cpp2
14 files changed, 26 insertions, 10 deletions
diff --git a/samplecode/SampleAAClip.cpp b/samplecode/SampleAAClip.cpp
index a1ee67b75f..78baf3d554 100644
--- a/samplecode/SampleAAClip.cpp
+++ b/samplecode/SampleAAClip.cpp
@@ -7,9 +7,10 @@
*/
#include "SampleCode.h"
-#include "SkView.h"
-#include "SkCanvas.h"
#include "SkAAClip.h"
+#include "SkCanvas.h"
+#include "SkPath.h"
+#include "SkView.h"
static void testop(const SkIRect& r0, const SkIRect& r1, SkRegion::Op op,
const SkIRect& expectedR) {
diff --git a/samplecode/SampleChart.cpp b/samplecode/SampleChart.cpp
index 4c128a90d7..8d158f1506 100644
--- a/samplecode/SampleChart.cpp
+++ b/samplecode/SampleChart.cpp
@@ -8,6 +8,7 @@
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkView.h"
diff --git a/samplecode/SampleCircle.cpp b/samplecode/SampleCircle.cpp
index 9cc927e47d..938b5752ea 100644
--- a/samplecode/SampleCircle.cpp
+++ b/samplecode/SampleCircle.cpp
@@ -1,15 +1,16 @@
-
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "SampleCode.h"
-#include "SkView.h"
#include "SkCanvas.h"
#include "SkDevice.h"
#include "SkPaint.h"
+#include "SkPath.h"
+#include "SkView.h"
// ensure that we don't accidentally screw up the bounds when the oval is
// fractional, and the impl computes the center and radii, and uses them to
diff --git a/samplecode/SampleClip.cpp b/samplecode/SampleClip.cpp
index 3a38724e9c..2014278ceb 100644
--- a/samplecode/SampleClip.cpp
+++ b/samplecode/SampleClip.cpp
@@ -11,6 +11,7 @@
#include "SkColorPriv.h"
#include "SkDevice.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkRandom.h"
#define W 150
diff --git a/samplecode/SampleClipDrawMatch.cpp b/samplecode/SampleClipDrawMatch.cpp
index 6a2a37b190..c79c87239d 100644
--- a/samplecode/SampleClipDrawMatch.cpp
+++ b/samplecode/SampleClipDrawMatch.cpp
@@ -8,6 +8,8 @@
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkInterpolator.h"
+#include "SkPath.h"
+#include "SkRRect.h"
#include "SkTime.h"
// This slide tests out the match up between BW clipping and rendering. It can
diff --git a/samplecode/SampleClock.cpp b/samplecode/SampleClock.cpp
index ec71f0fd1c..9b1e3e0499 100644
--- a/samplecode/SampleClock.cpp
+++ b/samplecode/SampleClock.cpp
@@ -7,6 +7,7 @@
#include "SampleCode.h"
#include "SkCanvas.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkRRect.h"
#include "SkTime.h"
diff --git a/samplecode/SampleDitherBitmap.cpp b/samplecode/SampleDitherBitmap.cpp
index d825c71a50..9af5ce576f 100644
--- a/samplecode/SampleDitherBitmap.cpp
+++ b/samplecode/SampleDitherBitmap.cpp
@@ -1,16 +1,17 @@
-
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "SampleCode.h"
+#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkGradientShader.h"
-#include "SkView.h"
-#include "SkCanvas.h"
+#include "SkPath.h"
#include "SkUtils.h"
+#include "SkView.h"
static void draw_rect(SkCanvas* canvas, const SkRect& r, const SkPaint& p) {
canvas->drawRect(r, p);
diff --git a/samplecode/SampleEmptyPath.cpp b/samplecode/SampleEmptyPath.cpp
index 53e2199853..6071f42753 100644
--- a/samplecode/SampleEmptyPath.cpp
+++ b/samplecode/SampleEmptyPath.cpp
@@ -1,14 +1,15 @@
-
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkString.h"
diff --git a/samplecode/SampleFilterQuality.cpp b/samplecode/SampleFilterQuality.cpp
index 64b7f55322..12a04a6d60 100644
--- a/samplecode/SampleFilterQuality.cpp
+++ b/samplecode/SampleFilterQuality.cpp
@@ -12,6 +12,7 @@
#include "SkAnimTimer.h"
#include "SkCanvas.h"
#include "SkInterpolator.h"
+#include "SkPath.h"
#include "SkSurface.h"
#include "SkRandom.h"
#include "SkTime.h"
diff --git a/samplecode/SampleIdentityScale.cpp b/samplecode/SampleIdentityScale.cpp
index 4450d617a5..3302d27ed8 100644
--- a/samplecode/SampleIdentityScale.cpp
+++ b/samplecode/SampleIdentityScale.cpp
@@ -13,6 +13,7 @@
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkImageDecoder.h"
+#include "SkPath.h"
#include "SkRandom.h"
#include "SkStream.h"
#include "SkTime.h"
diff --git a/samplecode/SampleLayerMask.cpp b/samplecode/SampleLayerMask.cpp
index 86a092cd06..f5b88229ea 100644
--- a/samplecode/SampleLayerMask.cpp
+++ b/samplecode/SampleLayerMask.cpp
@@ -1,13 +1,14 @@
-
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "SampleCode.h"
#include "SkCanvas.h"
#include "SkPaint.h"
+#include "SkPath.h"
#include "SkView.h"
///////////////////////////////////////////////////////////////////////////////
diff --git a/samplecode/SamplePathFuzz.cpp b/samplecode/SamplePathFuzz.cpp
index 0955ce9f34..70a052f80a 100644
--- a/samplecode/SamplePathFuzz.cpp
+++ b/samplecode/SamplePathFuzz.cpp
@@ -14,6 +14,7 @@
#include "SkColor.h"
#include "SkTDArray.h"
#include "SkRandom.h"
+#include "SkRRect.h"
enum RandomAddPath {
kMoveToPath,
diff --git a/samplecode/SampleShaderText.cpp b/samplecode/SampleShaderText.cpp
index 9fdae842ab..cf7cf96a43 100644
--- a/samplecode/SampleShaderText.cpp
+++ b/samplecode/SampleShaderText.cpp
@@ -6,9 +6,10 @@
*/
#include "SampleCode.h"
-#include "SkView.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
+#include "SkPath.h"
+#include "SkView.h"
static void makebm(SkBitmap* bm, int w, int h) {
bm->allocN32Pixels(w, h);
diff --git a/samplecode/SampleStringArt.cpp b/samplecode/SampleStringArt.cpp
index 0e711b09d7..5bc667bb7e 100644
--- a/samplecode/SampleStringArt.cpp
+++ b/samplecode/SampleStringArt.cpp
@@ -4,8 +4,10 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "SampleCode.h"
#include "SkCanvas.h"
+#include "SkPath.h"
// Reproduces https://code.google.com/p/chromium/issues/detail?id=279014