| 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 "SampleCode.h" | 8 #include "SampleCode.h" |
| 9 #include "SkAnimTimer.h" | 9 #include "SkAnimTimer.h" |
| 10 #include "SkView.h" | 10 #include "SkView.h" |
| 11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
| 12 #include "SkDrawable.h" | 12 #include "SkDrawable.h" |
| 13 #include "SkGradientShader.h" | 13 #include "SkGradientShader.h" |
| 14 #include "SkPath.h" | 14 #include "SkPath.h" |
| 15 #include "SkRegion.h" | 15 #include "SkRegion.h" |
| 16 #include "SkShader.h" | 16 #include "SkShader.h" |
| 17 #include "SkUtils.h" | 17 #include "SkUtils.h" |
| 18 #include "SkComposeShader.h" | |
| 19 #include "Sk1DPathEffect.h" | 18 #include "Sk1DPathEffect.h" |
| 20 #include "SkCornerPathEffect.h" | 19 #include "SkCornerPathEffect.h" |
| 21 #include "SkPathMeasure.h" | 20 #include "SkPathMeasure.h" |
| 22 #include "SkPictureRecorder.h" | 21 #include "SkPictureRecorder.h" |
| 23 #include "SkRandom.h" | 22 #include "SkRandom.h" |
| 24 #include "SkColorPriv.h" | 23 #include "SkColorPriv.h" |
| 25 #include "SkColorFilter.h" | 24 #include "SkColorFilter.h" |
| 26 #include "SkLayerRasterizer.h" | 25 #include "SkLayerRasterizer.h" |
| 27 | 26 |
| 28 #include "SkParsePath.h" | 27 #include "SkParsePath.h" |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 private: | 210 private: |
| 212 SkScalar fSweep; | 211 SkScalar fSweep; |
| 213 | 212 |
| 214 typedef SampleView INHERITED; | 213 typedef SampleView INHERITED; |
| 215 }; | 214 }; |
| 216 | 215 |
| 217 ////////////////////////////////////////////////////////////////////////////// | 216 ////////////////////////////////////////////////////////////////////////////// |
| 218 | 217 |
| 219 static SkView* MyFactory() { return new ArcsView; } | 218 static SkView* MyFactory() { return new ArcsView; } |
| 220 static SkViewRegister reg(MyFactory); | 219 static SkViewRegister reg(MyFactory); |
| OLD | NEW |