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