| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 "SkPath.h" |
| 9 | 10 |
| 10 namespace skiagm { | 11 namespace skiagm { |
| 11 | 12 |
| 12 // this draws a small arc scaled up | 13 // this draws a small arc scaled up |
| 13 // see https://code.google.com/p/chromium/issues/detail?id=102411 | 14 // see https://code.google.com/p/chromium/issues/detail?id=102411 |
| 14 // and https://code.google.com/p/skia/issues/detail?id=2769 | 15 // and https://code.google.com/p/skia/issues/detail?id=2769 |
| 15 class SmallArcGM : public GM { | 16 class SmallArcGM : public GM { |
| 16 public: | 17 public: |
| 17 SmallArcGM() { | 18 SmallArcGM() { |
| 18 } | 19 } |
| (...skipping 26 matching lines...) Expand all Loading... |
| 45 | 46 |
| 46 private: | 47 private: |
| 47 typedef GM INHERITED; | 48 typedef GM INHERITED; |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 ////////////////////////////////////////////////////////////////////////////// | 51 ////////////////////////////////////////////////////////////////////////////// |
| 51 | 52 |
| 52 DEF_GM( return SkNEW(SmallArcGM); ) | 53 DEF_GM( return SkNEW(SmallArcGM); ) |
| 53 | 54 |
| 54 } | 55 } |
| OLD | NEW |