| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2007 The Android Open Source Project | 2 * Copyright 2007 The Android Open Source Project |
| 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 SkPixelXorXfermode_DEFINED | 8 #ifndef SkPixelXorXfermode_DEFINED |
| 9 #define SkPixelXorXfermode_DEFINED | 9 #define SkPixelXorXfermode_DEFINED |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 explicit SkPixelXorXfermode(SkColor opColor) { | 39 explicit SkPixelXorXfermode(SkColor opColor) { |
| 40 fOpColor = SkPreMultiplyColor(opColor | 0xFF000000); | 40 fOpColor = SkPreMultiplyColor(opColor | 0xFF000000); |
| 41 } | 41 } |
| 42 | 42 |
| 43 SkPMColor fOpColor; | 43 SkPMColor fOpColor; |
| 44 | 44 |
| 45 typedef SkXfermode INHERITED; | 45 typedef SkXfermode INHERITED; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 #endif | 48 #endif |
| OLD | NEW |