OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 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 SkDrawBlur_DEFINED | 8 #ifndef SkDrawBlur_DEFINED |
9 #define SkDrawBlur_DEFINED | 9 #define SkDrawBlur_DEFINED |
10 | 10 |
11 #include "SkPaintPart.h" | 11 #include "SkPaintPart.h" |
12 #include "SkBlurMaskFilter.h" | 12 #include "SkBlurMaskFilter.h" |
13 | 13 |
14 class SkDrawBlur : public SkDrawMaskFilter { | 14 class SkDrawBlur : public SkDrawMaskFilter { |
15 DECLARE_DRAW_MEMBER_INFO(Blur); | 15 DECLARE_DRAW_MEMBER_INFO(Blur); |
16 SkDrawBlur(); | 16 SkDrawBlur(); |
17 SkMaskFilter* getMaskFilter() SK_OVERRIDE; | 17 SkMaskFilter* getMaskFilter() override; |
18 protected: | 18 protected: |
19 SkScalar fSigma; | 19 SkScalar fSigma; |
20 int /*SkBlurStyle*/ fBlurStyle; | 20 int /*SkBlurStyle*/ fBlurStyle; |
21 | 21 |
22 typedef SkDrawMaskFilter INHERITED; | 22 typedef SkDrawMaskFilter INHERITED; |
23 }; | 23 }; |
24 | 24 |
25 #endif // SkDrawBlur_DEFINED | 25 #endif // SkDrawBlur_DEFINED |
OLD | NEW |