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 "SkPaint.h" | 11 #include "SkPaint.h" |
12 #include "SkPath.h" | 12 #include "SkPath.h" |
| 13 #include "SkPictureRecorder.h" |
13 #include "SkRegion.h" | 14 #include "SkRegion.h" |
14 #include "SkShader.h" | 15 #include "SkShader.h" |
15 #include "SkUtils.h" | 16 #include "SkUtils.h" |
16 #include "SkColorPriv.h" | 17 #include "SkColorPriv.h" |
17 #include "SkColorFilter.h" | 18 #include "SkColorFilter.h" |
18 #include "SkPicture.h" | 19 #include "SkPicture.h" |
19 #include "SkTypeface.h" | 20 #include "SkTypeface.h" |
20 | 21 |
21 // effects | 22 // effects |
22 #include "SkGradientShader.h" | 23 #include "SkGradientShader.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 } | 170 } |
170 | 171 |
171 private: | 172 private: |
172 typedef SampleView INHERITED; | 173 typedef SampleView INHERITED; |
173 }; | 174 }; |
174 | 175 |
175 ////////////////////////////////////////////////////////////////////////////// | 176 ////////////////////////////////////////////////////////////////////////////// |
176 | 177 |
177 static SkView* MyFactory() { return new TilingView; } | 178 static SkView* MyFactory() { return new TilingView; } |
178 static SkViewRegister reg(MyFactory); | 179 static SkViewRegister reg(MyFactory); |
OLD | NEW |