| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #include "SampleCode.h" | 8 #include "SampleCode.h" |
| 9 #include "SkView.h" | 9 #include "SkView.h" |
| 10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
| 11 #include "SkCornerPathEffect.h" | 11 #include "SkCornerPathEffect.h" |
| 12 #include "SkCullPoints.h" | |
| 13 #include "SkGradientShader.h" | 12 #include "SkGradientShader.h" |
| 14 #include "SkPath.h" | 13 #include "SkPath.h" |
| 15 #include "SkRegion.h" | 14 #include "SkRegion.h" |
| 16 #include "SkShader.h" | 15 #include "SkShader.h" |
| 17 #include "SkUtils.h" | 16 #include "SkUtils.h" |
| 18 | 17 |
| 19 class FillTypeView : public SampleView { | 18 class FillTypeView : public SampleView { |
| 20 SkPath fPath; | 19 SkPath fPath; |
| 21 public: | 20 public: |
| 22 FillTypeView() { | 21 FillTypeView() { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 } | 86 } |
| 88 | 87 |
| 89 private: | 88 private: |
| 90 typedef SampleView INHERITED; | 89 typedef SampleView INHERITED; |
| 91 }; | 90 }; |
| 92 | 91 |
| 93 ////////////////////////////////////////////////////////////////////////////// | 92 ////////////////////////////////////////////////////////////////////////////// |
| 94 | 93 |
| 95 static SkView* MyFactory() { return new FillTypeView; } | 94 static SkView* MyFactory() { return new FillTypeView; } |
| 96 static SkViewRegister reg(MyFactory); | 95 static SkViewRegister reg(MyFactory); |
| OLD | NEW |