OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 SkOverdrawMode_DEFINED | 8 #ifndef SkOverdrawMode_DEFINED |
9 #define SkOverdrawMode_DEFINED | 9 #define SkOverdrawMode_DEFINED |
10 | 10 |
11 #include "SkFlattenable.h" | 11 #include "SkFlattenable.h" |
12 | 12 |
13 class SkXfermode; | 13 class SkXfermode; |
14 | 14 |
15 class SkOverdrawMode { | 15 class SkOverdrawMode { |
16 public: | 16 public: |
17 static SkXfermode* Create(); | 17 static SkXfermode* Create(); |
18 | 18 |
19 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP(); | 19 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP(); |
20 | 20 |
21 private: | 21 private: |
22 SkOverdrawMode(); // can't be instantiated | 22 SkOverdrawMode(); // can't be instantiated |
23 }; | 23 }; |
24 | 24 |
25 #endif | 25 #endif |
OLD | NEW |