| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 |
| 8 #include "gm.h" | 8 #include "gm.h" |
| 9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
| 10 #include "SkPath.h" |
| 10 #include "SkTArray.h" | 11 #include "SkTArray.h" |
| 11 | 12 |
| 12 class ConicPathsGM : public skiagm::GM { | 13 class ConicPathsGM : public skiagm::GM { |
| 13 protected: | 14 protected: |
| 14 | 15 |
| 15 SkString onShortName() override { | 16 SkString onShortName() override { |
| 16 return SkString("conicpaths"); | 17 return SkString("conicpaths"); |
| 17 } | 18 } |
| 18 | 19 |
| 19 SkISize onISize() override { | 20 SkISize onISize() override { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 125 |
| 125 private: | 126 private: |
| 126 SkTArray<SkPath> fPaths; | 127 SkTArray<SkPath> fPaths; |
| 127 SkPath fGiantCircle; | 128 SkPath fGiantCircle; |
| 128 typedef skiagm::GM INHERITED; | 129 typedef skiagm::GM INHERITED; |
| 129 }; | 130 }; |
| 130 DEF_GM( return SkNEW(ConicPathsGM); ) | 131 DEF_GM( return SkNEW(ConicPathsGM); ) |
| 131 | 132 |
| 132 ////////////////////////////////////////////////////////////////////////////// | 133 ////////////////////////////////////////////////////////////////////////////// |
| 133 | 134 |
| OLD | NEW |