| 1 | /* |
|---|---|
| 2 | * Copyright 2008 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 | |
| 9 | #ifndef SkBlurDrawLooper_DEFINED |
| 10 | #define SkBlurDrawLooper_DEFINED |
| 11 | |
| 12 | #include "include/core/SkDrawLooper.h" |
| 13 | |
| 14 | /** |
| 15 | * Draws a shadow of the object (possibly offset), and then draws the original object in |
| 16 | * its original position. |
| 17 | */ |
| 18 | namespace SkBlurDrawLooper { |
| 19 | sk_sp<SkDrawLooper> SK_API Make(SkColor4f color, SkColorSpace* cs, |
| 20 | SkScalar sigma, SkScalar dx, SkScalar dy); |
| 21 | sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy); |
| 22 | }; |
| 23 | |
| 24 | #endif |
| 25 |