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 |
8 #include "gm.h" | 8 #include "gm.h" |
9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
10 #include "SkPathPriv.h" | 10 #include "SkPathPriv.h" |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 path4.moveTo(0, 0); // test for crbug.com/247770 | 348 path4.moveTo(0, 0); // test for crbug.com/247770 |
349 canvas->drawPath(path4, paint); | 349 canvas->drawPath(path4, paint); |
350 } | 350 } |
351 | 351 |
352 private: | 352 private: |
353 typedef GM INHERITED; | 353 typedef GM INHERITED; |
354 }; | 354 }; |
355 | 355 |
356 ////////////////////////////////////////////////////////////////////////////// | 356 ////////////////////////////////////////////////////////////////////////////// |
357 | 357 |
358 DEF_GM(return SkNEW(StrokeFillGM);) | 358 DEF_GM(return new StrokeFillGM;) |
359 | |
360 } | 359 } |
OLD | NEW |