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 SkBounder; | |
19 class SkClipStack; | 18 class SkClipStack; |
20 class SkBaseDevice; | 19 class SkBaseDevice; |
21 class SkMatrix; | 20 class SkMatrix; |
22 class SkPath; | 21 class SkPath; |
23 class SkRegion; | 22 class SkRegion; |
24 class SkRasterClip; | 23 class SkRasterClip; |
25 struct SkDrawProcs; | 24 struct SkDrawProcs; |
26 struct SkRect; | 25 struct SkRect; |
27 class SkRRect; | 26 class SkRRect; |
28 | 27 |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 computeConservativeLocalClipBounds(SkRect* bounds) const; | 132 computeConservativeLocalClipBounds(SkRect* bounds) const; |
134 | 133 |
135 public: | 134 public: |
136 const SkBitmap* fBitmap; // required | 135 const SkBitmap* fBitmap; // required |
137 const SkMatrix* fMatrix; // required | 136 const SkMatrix* fMatrix; // required |
138 const SkRegion* fClip; // DEPRECATED | 137 const SkRegion* fClip; // DEPRECATED |
139 const SkRasterClip* fRC; // required | 138 const SkRasterClip* fRC; // required |
140 | 139 |
141 const SkClipStack* fClipStack; // optional | 140 const SkClipStack* fClipStack; // optional |
142 SkBaseDevice* fDevice; // optional | 141 SkBaseDevice* fDevice; // optional |
143 SkBounder* fBounder; // optional | |
144 SkDrawProcs* fProcs; // optional | 142 SkDrawProcs* fProcs; // optional |
145 | 143 |
146 #ifdef SK_DEBUG | 144 #ifdef SK_DEBUG |
147 void validate() const; | 145 void validate() const; |
148 #else | 146 #else |
149 void validate() const {} | 147 void validate() const {} |
150 #endif | 148 #endif |
151 }; | 149 }; |
152 | 150 |
153 #endif | 151 #endif |
OLD | NEW |