blob: 75075922dc753885e42e574aaaae0e3f9935b9f8 [file] [log] [blame]
epoger@google.comec3ed6a2011-07-28 14:26:00 +00001/*
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
reed@android.com8a1c16f2008-12-17 15:59:43 +00008#ifndef SkDrawBlur_DEFINED
9#define SkDrawBlur_DEFINED
10
reed@google.com8d4dc712014-04-18 15:14:25 +000011#include "SkPaintPart.h"
reed@android.com8a1c16f2008-12-17 15:59:43 +000012#include "SkBlurMaskFilter.h"
13
14class SkDrawBlur : public SkDrawMaskFilter {
15 DECLARE_DRAW_MEMBER_INFO(Blur);
16 SkDrawBlur();
robertphillips@google.comb7061172013-09-06 14:16:12 +000017 virtual SkMaskFilter* getMaskFilter() SK_OVERRIDE;
reed@android.com8a1c16f2008-12-17 15:59:43 +000018protected:
robertphillips@google.comb7061172013-09-06 14:16:12 +000019 SkScalar fSigma;
commit-bot@chromium.orge3964552014-04-28 16:25:35 +000020 int /*SkBlurStyle*/ fBlurStyle;
robertphillips@google.comb7061172013-09-06 14:16:12 +000021
22 typedef SkDrawMaskFilter INHERITED;
reed@android.com8a1c16f2008-12-17 15:59:43 +000023};
24
25#endif // SkDrawBlur_DEFINED