OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include "gm.h" | 7 #include "gm.h" |
9 #include "SkPath.h" | 8 #include "SkPath.h" |
10 #include "SkRandom.h" | 9 #include "SkRandom.h" |
11 #include "SkTArray.h" | 10 #include "SkTArray.h" |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 typedef GM INHERITED; | 289 typedef GM INHERITED; |
291 SkTArray<SkPath> fPaths; | 290 SkTArray<SkPath> fPaths; |
292 }; | 291 }; |
293 | 292 |
294 ////////////////////////////////////////////////////////////////////////////// | 293 ////////////////////////////////////////////////////////////////////////////// |
295 | 294 |
296 static GM* MyFactory(void*) { return new ConvexPathsGM; } | 295 static GM* MyFactory(void*) { return new ConvexPathsGM; } |
297 static GMRegistry reg(MyFactory); | 296 static GMRegistry reg(MyFactory); |
298 | 297 |
299 } | 298 } |
OLD | NEW |