OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 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 #ifndef SkRasterClip_DEFINED | 8 #ifndef SkRasterClip_DEFINED |
9 #define SkRasterClip_DEFINED | 9 #define SkRasterClip_DEFINED |
10 | 10 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 const SkRegion& getRgn() const { | 146 const SkRegion& getRgn() const { |
147 SkASSERT(fClipRgn); | 147 SkASSERT(fClipRgn); |
148 return *fClipRgn; | 148 return *fClipRgn; |
149 } | 149 } |
150 SkBlitter* getBlitter() { | 150 SkBlitter* getBlitter() { |
151 SkASSERT(fBlitter); | 151 SkASSERT(fBlitter); |
152 return fBlitter; | 152 return fBlitter; |
153 } | 153 } |
154 | 154 |
155 private: | 155 private: |
156 const SkAAClip* fAAClip; | |
157 SkRegion fBWRgn; | 156 SkRegion fBWRgn; |
158 SkAAClipBlitter fAABlitter; | 157 SkAAClipBlitter fAABlitter; |
159 // what we return | 158 // what we return |
160 const SkRegion* fClipRgn; | 159 const SkRegion* fClipRgn; |
161 SkBlitter* fBlitter; | 160 SkBlitter* fBlitter; |
162 }; | 161 }; |
163 | 162 |
164 #endif | 163 #endif |
OLD | NEW |