blob: 0c916a382f701a00a20a26aa4af14d008ade426b [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001
2/*
3 * Copyright 2006 The Android Open Source Project
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
8
reed@android.com8a1c16f2008-12-17 15:59:43 +00009
10#ifndef SkDrawBlur_DEFINED
11#define SkDrawBlur_DEFINED
12
13#include "SkPaintParts.h"
14#include "SkBlurMaskFilter.h"
15
16class SkDrawBlur : public SkDrawMaskFilter {
17 DECLARE_DRAW_MEMBER_INFO(Blur);
18 SkDrawBlur();
robertphillips@google.comb7061172013-09-06 14:16:12 +000019 virtual SkMaskFilter* getMaskFilter() SK_OVERRIDE;
reed@android.com8a1c16f2008-12-17 15:59:43 +000020protected:
robertphillips@google.comb7061172013-09-06 14:16:12 +000021 SkScalar fSigma;
22 int /*SkBlurMaskFilter::BlurStyle*/ fBlurStyle;
23
24 typedef SkDrawMaskFilter INHERITED;
reed@android.com8a1c16f2008-12-17 15:59:43 +000025};
26
27#endif // SkDrawBlur_DEFINED