blob: 462a0413c4102bff507e28bfa6201391e588a1e2 [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;
20 int /*SkBlurMaskFilter::BlurStyle*/ fBlurStyle;
21
22 typedef SkDrawMaskFilter INHERITED;
reed@android.com8a1c16f2008-12-17 15:59:43 +000023};
24
25#endif // SkDrawBlur_DEFINED