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 SkXfermode_DEFINED | 10 #ifndef SkXfermode_DEFINED |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
264 | 264 |
265 protected: | 265 protected: |
266 SkProcXfermode(SkFlattenableReadBuffer&); | 266 SkProcXfermode(SkFlattenableReadBuffer&); |
267 virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; | 267 virtual void flatten(SkFlattenableWriteBuffer&) const SK_OVERRIDE; |
268 | 268 |
269 // allow subclasses to update this after we unflatten | 269 // allow subclasses to update this after we unflatten |
270 void setProc(SkXfermodeProc proc) { | 270 void setProc(SkXfermodeProc proc) { |
271 fProc = proc; | 271 fProc = proc; |
272 } | 272 } |
273 | 273 |
274 private: | |
275 SkXfermodeProc fProc; | 274 SkXfermodeProc fProc; |
reed1
2013/10/07 16:24:31
I presume your subclasses need access to fProc. Is
kevin.petit.not.used.account
2013/10/07 17:18:51
Done.
| |
276 | 275 |
276 private: | |
277 typedef SkXfermode INHERITED; | 277 typedef SkXfermode INHERITED; |
278 }; | 278 }; |
279 | 279 |
280 #endif | 280 #endif |
OLD | NEW |