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 | 8 |
9 #include "SampleCode.h" | 9 #include "SampleCode.h" |
10 #include "SkView.h" | 10 #include "SkView.h" |
11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
12 #include "SkGradientShader.h" | 12 #include "SkGradientShader.h" |
13 #include "SkGraphics.h" | 13 #include "SkGraphics.h" |
14 #include "SkImageDecoder.h" | |
15 #include "SkPath.h" | 14 #include "SkPath.h" |
16 #include "SkRegion.h" | 15 #include "SkRegion.h" |
17 #include "SkShader.h" | 16 #include "SkShader.h" |
18 #include "SkUtils.h" | 17 #include "SkUtils.h" |
19 #include "SkXfermode.h" | 18 #include "SkXfermode.h" |
20 #include "SkColorPriv.h" | 19 #include "SkColorPriv.h" |
21 #include "SkColorFilter.h" | 20 #include "SkColorFilter.h" |
22 #include "SkParsePath.h" | 21 #include "SkParsePath.h" |
23 #include "SkTime.h" | 22 #include "SkTime.h" |
24 #include "SkTypeface.h" | 23 #include "SkTypeface.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 } | 143 } |
145 | 144 |
146 private: | 145 private: |
147 typedef SampleView INHERITED; | 146 typedef SampleView INHERITED; |
148 }; | 147 }; |
149 | 148 |
150 ////////////////////////////////////////////////////////////////////////////// | 149 ////////////////////////////////////////////////////////////////////////////// |
151 | 150 |
152 static SkView* MyFactory() { return new ConcavePathView; } | 151 static SkView* MyFactory() { return new ConcavePathView; } |
153 static SkViewRegister reg(MyFactory); | 152 static SkViewRegister reg(MyFactory); |
OLD | NEW |