| 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 #include "gm.h" | 8 #include "gm.h" | 
| 8 #include "SkCanvas.h" | 9 #include "SkCanvas.h" | 
|  | 10 #include "SkPath.h" | 
| 9 #include "SkPaint.h" | 11 #include "SkPaint.h" | 
| 10 #include "SkRandom.h" | 12 #include "SkRandom.h" | 
| 11 | 13 | 
| 12 namespace skiagm { | 14 namespace skiagm { | 
| 13 | 15 | 
| 14 class LinePathGM : public GM { | 16 class LinePathGM : public GM { | 
| 15 public: | 17 public: | 
| 16     LinePathGM() {} | 18     LinePathGM() {} | 
| 17 | 19 | 
| 18 protected: | 20 protected: | 
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 297 | 299 | 
| 298 ////////////////////////////////////////////////////////////////////////////// | 300 ////////////////////////////////////////////////////////////////////////////// | 
| 299 | 301 | 
| 300 static GM* LinePathFactory(void*) { return new LinePathGM; } | 302 static GM* LinePathFactory(void*) { return new LinePathGM; } | 
| 301 static GMRegistry regLinePath(LinePathFactory); | 303 static GMRegistry regLinePath(LinePathFactory); | 
| 302 | 304 | 
| 303 static GM* LineClosePathFactory(void*) { return new LineClosePathGM; } | 305 static GM* LineClosePathFactory(void*) { return new LineClosePathGM; } | 
| 304 static GMRegistry regLineClosePath(LineClosePathFactory); | 306 static GMRegistry regLineClosePath(LineClosePathFactory); | 
| 305 | 307 | 
| 306 } | 308 } | 
| OLD | NEW | 
|---|