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