Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: gm/cubicpaths.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gm/convexpolyclip.cpp ('k') | gm/degeneratesegments.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7
7 #include "gm.h" 8 #include "gm.h"
8 #include "SkCanvas.h" 9 #include "SkCanvas.h"
9 #include "SkPaint.h" 10 #include "SkPaint.h"
11 #include "SkPath.h"
10 #include "SkRandom.h" 12 #include "SkRandom.h"
11 13
12 // skbug.com/1316 shows that this cubic, when slightly clipped, creates big 14 // skbug.com/1316 shows that this cubic, when slightly clipped, creates big
13 // (incorrect) changes to its control points. 15 // (incorrect) changes to its control points.
14 class ClippedCubicGM : public skiagm::GM { 16 class ClippedCubicGM : public skiagm::GM {
15 public: 17 public:
16 ClippedCubicGM() {} 18 ClippedCubicGM() {}
17 19
18 protected: 20 protected:
19 21
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 340
339 private: 341 private:
340 typedef skiagm::GM INHERITED; 342 typedef skiagm::GM INHERITED;
341 }; 343 };
342 344
343 ////////////////////////////////////////////////////////////////////////////// 345 //////////////////////////////////////////////////////////////////////////////
344 346
345 DEF_GM( return new CubicPathGM; ) 347 DEF_GM( return new CubicPathGM; )
346 DEF_GM( return new CubicClosePathGM; ) 348 DEF_GM( return new CubicClosePathGM; )
347 DEF_GM( return new ClippedCubicGM; ) 349 DEF_GM( return new ClippedCubicGM; )
OLDNEW
« no previous file with comments | « gm/convexpolyclip.cpp ('k') | gm/degeneratesegments.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698