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