OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 SkXfermode_proccoeff_DEFINED | 8 #ifndef SkXfermode_proccoeff_DEFINED |
9 #define SkXfermode_proccoeff_DEFINED | 9 #define SkXfermode_proccoeff_DEFINED |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 SkXfermodeProc getProc() const { return fProc; } | 61 SkXfermodeProc getProc() const { return fProc; } |
62 | 62 |
63 private: | 63 private: |
64 SkXfermodeProc fProc; | 64 SkXfermodeProc fProc; |
65 Mode fMode; | 65 Mode fMode; |
66 Coeff fSrcCoeff, fDstCoeff; | 66 Coeff fSrcCoeff, fDstCoeff; |
67 | 67 |
68 friend class SkXfermode; | 68 friend class SkXfermode; |
69 | 69 |
| 70 SkValue asValue() const override; |
| 71 |
70 typedef SkXfermode INHERITED; | 72 typedef SkXfermode INHERITED; |
71 }; | 73 }; |
72 | 74 |
73 #endif // #ifndef SkXfermode_proccoeff_DEFINED | 75 #endif // #ifndef SkXfermode_proccoeff_DEFINED |
OLD | NEW |