| OLD | NEW |
| 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 #include "gm.h" | 7 #include "gm.h" |
| 8 #include "SkCanvas.h" | 8 #include "SkCanvas.h" |
| 9 #include "SkPaint.h" | 9 #include "SkPaint.h" |
| 10 #include "SkPath.h" | |
| 11 #include "SkRandom.h" | 10 #include "SkRandom.h" |
| 12 | 11 |
| 13 namespace skiagm { | 12 namespace skiagm { |
| 14 | 13 |
| 15 class DegenerateSegmentsGM : public GM { | 14 class DegenerateSegmentsGM : public GM { |
| 16 public: | 15 public: |
| 17 DegenerateSegmentsGM() {} | 16 DegenerateSegmentsGM() {} |
| 18 | 17 |
| 19 protected: | 18 protected: |
| 20 struct PathAndName { | 19 struct PathAndName { |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 private: | 391 private: |
| 393 typedef GM INHERITED; | 392 typedef GM INHERITED; |
| 394 }; | 393 }; |
| 395 | 394 |
| 396 ////////////////////////////////////////////////////////////////////////////// | 395 ////////////////////////////////////////////////////////////////////////////// |
| 397 | 396 |
| 398 static GM* MyFactory(void*) { return new DegenerateSegmentsGM; } | 397 static GM* MyFactory(void*) { return new DegenerateSegmentsGM; } |
| 399 static GMRegistry reg(MyFactory); | 398 static GMRegistry reg(MyFactory); |
| 400 | 399 |
| 401 } | 400 } |
| OLD | NEW |