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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 This method will not be called directly by the client, so it need not | 227 This method will not be called directly by the client, so it need not |
228 be implemented if your subclass has overridden xfer32/xfer16/xferA8 | 228 be implemented if your subclass has overridden xfer32/xfer16/xferA8 |
229 */ | 229 */ |
230 virtual SkPMColor xferColor(SkPMColor src, SkPMColor dst) const; | 230 virtual SkPMColor xferColor(SkPMColor src, SkPMColor dst) const; |
231 | 231 |
232 private: | 232 private: |
233 enum { | 233 enum { |
234 kModeCount = kLastMode + 1 | 234 kModeCount = kLastMode + 1 |
235 }; | 235 }; |
236 | 236 |
237 friend class SkGraphics; | |
238 static void Term(); | |
239 | |
240 typedef SkFlattenable INHERITED; | 237 typedef SkFlattenable INHERITED; |
241 }; | 238 }; |
242 | 239 |
243 #endif | 240 #endif |
OLD | NEW |