• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2006 The Android Open Source Project
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkDrawBlur_DEFINED
9 #define SkDrawBlur_DEFINED
10 
11 #include "SkPaintPart.h"
12 #include "SkBlurMaskFilter.h"
13 
14 class SkDrawBlur : public SkDrawMaskFilter {
15     DECLARE_DRAW_MEMBER_INFO(Blur);
16     SkDrawBlur();
17     virtual SkMaskFilter* getMaskFilter() SK_OVERRIDE;
18 protected:
19     SkScalar fSigma;
20     int /*SkBlurStyle*/ fBlurStyle;
21 
22     typedef SkDrawMaskFilter INHERITED;
23 };
24 
25 #endif // SkDrawBlur_DEFINED
26