| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2008 The Android Open Source Project | 2 * Copyright 2008 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 SkPaintFlagsDrawFilter_DEFINED | 8 #ifndef SkPaintFlagsDrawFilter_DEFINED |
| 9 #define SkPaintFlagsDrawFilter_DEFINED | 9 #define SkPaintFlagsDrawFilter_DEFINED |
| 10 | 10 |
| 11 #include "SkDrawFilter.h" | 11 #include "SkDrawFilter.h" |
| 12 | 12 |
| 13 class SK_API SkPaintFlagsDrawFilter : public SkDrawFilter { | 13 class SK_API SkPaintFlagsDrawFilter : public SkDrawFilter { |
| 14 public: | 14 public: |
| 15 SkPaintFlagsDrawFilter(uint32_t clearFlags, uint32_t setFlags); | 15 SkPaintFlagsDrawFilter(uint32_t clearFlags, uint32_t setFlags); |
| 16 | 16 |
| 17 bool filter(SkPaint*, Type) SK_OVERRIDE; | 17 bool filter(SkPaint*, Type) override; |
| 18 | 18 |
| 19 private: | 19 private: |
| 20 uint16_t fClearFlags; // user specified | 20 uint16_t fClearFlags; // user specified |
| 21 uint16_t fSetFlags; // user specified | 21 uint16_t fSetFlags; // user specified |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 #endif | 24 #endif |
| OLD | NEW |