| 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 | |
| 8 #include "gm.h" | 7 #include "gm.h" |
| 9 #include "SkCanvas.h" | 8 #include "SkCanvas.h" |
| 10 #include "SkPaint.h" | 9 #include "SkPaint.h" |
| 11 #include "SkPath.h" | |
| 12 #include "SkRandom.h" | 10 #include "SkRandom.h" |
| 13 | 11 |
| 14 namespace skiagm { | 12 namespace skiagm { |
| 15 | 13 |
| 16 class QuadPathGM : public GM { | 14 class QuadPathGM : public GM { |
| 17 public: | 15 public: |
| 18 QuadPathGM() {} | 16 QuadPathGM() {} |
| 19 | 17 |
| 20 protected: | 18 protected: |
| 21 | 19 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 | 300 |
| 303 ////////////////////////////////////////////////////////////////////////////// | 301 ////////////////////////////////////////////////////////////////////////////// |
| 304 | 302 |
| 305 static GM* QuadPathFactory(void*) { return new QuadPathGM; } | 303 static GM* QuadPathFactory(void*) { return new QuadPathGM; } |
| 306 static GMRegistry regQuadPath(QuadPathFactory); | 304 static GMRegistry regQuadPath(QuadPathFactory); |
| 307 | 305 |
| 308 static GM* QuadClosePathFactory(void*) { return new QuadClosePathGM; } | 306 static GM* QuadClosePathFactory(void*) { return new QuadClosePathGM; } |
| 309 static GMRegistry regQuadClosePath(QuadClosePathFactory); | 307 static GMRegistry regQuadClosePath(QuadClosePathFactory); |
| 310 | 308 |
| 311 } | 309 } |
| OLD | NEW |