blob: 08e77666b9424ce29b2ce6d1b679dc2288cfbb86 [file] [log] [blame]
reed@android.com8a1c16f2008-12-17 15:59:43 +00001/*
epoger@google.comec3ed6a2011-07-28 14:26:00 +00002 * Copyright 2008 The Android Open Source Project
reed@android.com8a1c16f2008-12-17 15:59:43 +00003 *
epoger@google.comec3ed6a2011-07-28 14:26:00 +00004 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
reed@android.com8a1c16f2008-12-17 15:59:43 +00006 */
7
epoger@google.comec3ed6a2011-07-28 14:26:00 +00008
reed@android.com8a1c16f2008-12-17 15:59:43 +00009#ifndef SkBlurDrawLooper_DEFINED
10#define SkBlurDrawLooper_DEFINED
11
12#include "SkDrawLooper.h"
reed@android.com8a1c16f2008-12-17 15:59:43 +000013
Matt Sarett56ea77a2017-03-28 15:27:06 -040014/**
15 * Draws a shadow of the object (possibly offset), and then draws the original object in
16 * its original position.
17 */
18namespace SkBlurDrawLooper {
Derek Sollenberger2fbf1bc2017-09-20 15:51:08 -040019 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
reed@android.com8a1c16f2008-12-17 15:59:43 +000020};
21
22#endif