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 "SkBlurMask.h" | 9 #include "SkBlurMask.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
11 #include "SkView.h" | 11 #include "SkView.h" |
12 #include "Sk1DPathEffect.h" | 12 #include "Sk1DPathEffect.h" |
13 #include "Sk2DPathEffect.h" | 13 #include "Sk2DPathEffect.h" |
14 #include "SkAvoidXfermode.h" | 14 #include "SkAvoidXfermode.h" |
15 #include "SkBlurMaskFilter.h" | 15 #include "SkBlurMaskFilter.h" |
16 #include "SkColorFilter.h" | 16 #include "SkColorFilter.h" |
17 #include "SkColorPriv.h" | 17 #include "SkColorPriv.h" |
18 #include "SkCornerPathEffect.h" | 18 #include "SkCornerPathEffect.h" |
19 #include "SkDashPathEffect.h" | 19 #include "SkDashPathEffect.h" |
20 #include "SkDiscretePathEffect.h" | 20 #include "SkDiscretePathEffect.h" |
21 #include "SkEmbossMaskFilter.h" | 21 #include "SkEmbossMaskFilter.h" |
22 #include "SkReadBuffer.h" | 22 #include "SkReadBuffer.h" |
23 #include "SkWriteBuffer.h" | 23 #include "SkWriteBuffer.h" |
24 #include "SkGradientShader.h" | 24 #include "SkGradientShader.h" |
25 #include "SkImageDecoder.h" | 25 #include "SkImageDecoder.h" |
26 #include "SkLayerRasterizer.h" | 26 #include "SkLayerRasterizer.h" |
27 #include "SkMath.h" | 27 #include "SkMath.h" |
28 #include "SkPath.h" | 28 #include "SkPath.h" |
| 29 #include "SkPictureRecorder.h" |
29 #include "SkRegion.h" | 30 #include "SkRegion.h" |
30 #include "SkShader.h" | 31 #include "SkShader.h" |
31 #include "SkComposeShader.h" | 32 #include "SkComposeShader.h" |
32 #include "SkCornerPathEffect.h" | 33 #include "SkCornerPathEffect.h" |
33 #include "SkPathMeasure.h" | 34 #include "SkPathMeasure.h" |
34 #include "SkPicture.h" | 35 #include "SkPicture.h" |
35 #include "SkRandom.h" | 36 #include "SkRandom.h" |
36 #include "SkTransparentShader.h" | 37 #include "SkTransparentShader.h" |
37 #include "SkTypeface.h" | 38 #include "SkTypeface.h" |
38 #include "SkUnitMappers.h" | 39 #include "SkUnitMappers.h" |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
646 private: | 647 private: |
647 SkPoint fClickPt; | 648 SkPoint fClickPt; |
648 SkBitmap fBug, fTb, fTx; | 649 SkBitmap fBug, fTb, fTx; |
649 typedef SampleView INHERITED; | 650 typedef SampleView INHERITED; |
650 }; | 651 }; |
651 | 652 |
652 ////////////////////////////////////////////////////////////////////////////// | 653 ////////////////////////////////////////////////////////////////////////////// |
653 | 654 |
654 static SkView* MyFactory() { return new DemoView; } | 655 static SkView* MyFactory() { return new DemoView; } |
655 static SkViewRegister reg(MyFactory); | 656 static SkViewRegister reg(MyFactory); |
OLD | NEW |