OLD | NEW |
---|---|
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
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 | 9 |
10 #ifndef SkDraw_DEFINED | 10 #ifndef SkDraw_DEFINED |
11 #define SkDraw_DEFINED | 11 #define SkDraw_DEFINED |
12 | 12 |
13 #include "SkCanvas.h" | 13 #include "SkCanvas.h" |
14 #include "SkMask.h" | 14 #include "SkMask.h" |
15 #include "SkPaint.h" | 15 #include "SkPaint.h" |
16 | 16 |
17 class SkBitmap; | 17 class SkBitmap; |
18 class SkClipStack; | 18 class SkClipStack; |
19 class SkBaseDevice; | 19 class SkBaseDevice; |
20 class SkBlitter; | 20 class SkBlitter; |
21 class SkDrawFilter; | |
21 class SkMatrix; | 22 class SkMatrix; |
22 class SkPath; | 23 class SkPath; |
23 class SkRegion; | 24 class SkRegion; |
24 class SkRasterClip; | 25 class SkRasterClip; |
25 struct SkDrawProcs; | 26 struct SkDrawProcs; |
26 struct SkRect; | 27 struct SkRect; |
27 class SkRRect; | 28 class SkRRect; |
28 | 29 |
29 class SkDraw { | 30 class SkDraw { |
30 public: | 31 public: |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 | 142 |
142 public: | 143 public: |
143 const SkBitmap* fBitmap; // required | 144 const SkBitmap* fBitmap; // required |
144 const SkMatrix* fMatrix; // required | 145 const SkMatrix* fMatrix; // required |
145 const SkRegion* fClip; // DEPRECATED | 146 const SkRegion* fClip; // DEPRECATED |
146 const SkRasterClip* fRC; // required | 147 const SkRasterClip* fRC; // required |
147 | 148 |
148 const SkClipStack* fClipStack; // optional | 149 const SkClipStack* fClipStack; // optional |
149 SkBaseDevice* fDevice; // optional | 150 SkBaseDevice* fDevice; // optional |
150 SkDrawProcs* fProcs; // optional | 151 SkDrawProcs* fProcs; // optional |
152 SkDrawFilter* fDrawFilter; // optional | |
f(malita)
2015/03/03 21:23:45
I guess this could also be passed explicitly to Sk
| |
151 | 153 |
152 #ifdef SK_DEBUG | 154 #ifdef SK_DEBUG |
153 void validate() const; | 155 void validate() const; |
154 #else | 156 #else |
155 void validate() const {} | 157 void validate() const {} |
156 #endif | 158 #endif |
157 }; | 159 }; |
158 | 160 |
159 #endif | 161 #endif |
OLD | NEW |