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 "SkView.h" | 9 #include "SkView.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
11 #include "SkCornerPathEffect.h" | 11 #include "SkCornerPathEffect.h" |
12 #include "SkGradientShader.h" | 12 #include "SkGradientShader.h" |
13 #include "SkGraphics.h" | 13 #include "SkGraphics.h" |
14 #include "SkImageDecoder.h" | 14 #include "SkImageDecoder.h" |
15 #include "SkKernel33MaskFilter.h" | |
16 #include "SkPath.h" | 15 #include "SkPath.h" |
17 #include "SkRandom.h" | 16 #include "SkRandom.h" |
18 #include "SkRegion.h" | 17 #include "SkRegion.h" |
19 #include "SkShader.h" | 18 #include "SkShader.h" |
20 #include "SkUtils.h" | 19 #include "SkUtils.h" |
21 #include "SkColorPriv.h" | 20 #include "SkColorPriv.h" |
22 #include "SkColorFilter.h" | 21 #include "SkColorFilter.h" |
23 #include "SkTime.h" | 22 #include "SkTime.h" |
24 #include "SkTypeface.h" | 23 #include "SkTypeface.h" |
25 #include "SkXfermode.h" | 24 #include "SkXfermode.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 private: | 104 private: |
106 | 105 |
107 int fAlpha; | 106 int fAlpha; |
108 typedef SampleView INHERITED; | 107 typedef SampleView INHERITED; |
109 }; | 108 }; |
110 | 109 |
111 ////////////////////////////////////////////////////////////////////////////// | 110 ////////////////////////////////////////////////////////////////////////////// |
112 | 111 |
113 static SkView* MyFactory() { return new LinesView; } | 112 static SkView* MyFactory() { return new LinesView; } |
114 static SkViewRegister reg(MyFactory); | 113 static SkViewRegister reg(MyFactory); |
OLD | NEW |