2008-12-17 15:59:43 +00:00
|
|
|
/*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Copyright 2008 The Android Open Source Project
|
2008-12-17 15:59:43 +00:00
|
|
|
*
|
2011-07-28 14:26:00 +00:00
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
2008-12-17 15:59:43 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SkBlurDrawLooper_DEFINED
|
|
|
|
#define SkBlurDrawLooper_DEFINED
|
|
|
|
|
2019-04-23 17:05:21 +00:00
|
|
|
#include "include/core/SkDrawLooper.h"
|
2008-12-17 15:59:43 +00:00
|
|
|
|
2021-02-05 01:11:25 +00:00
|
|
|
#ifndef SK_SUPPORT_LEGACY_DRAWLOOPER
|
|
|
|
#error "SkDrawLooper is unsupported"
|
|
|
|
#endif
|
|
|
|
|
2017-03-28 19:27:06 +00:00
|
|
|
/**
|
2020-05-26 21:31:28 +00:00
|
|
|
* DEPRECATED: No longer supported in Skia.
|
2017-03-28 19:27:06 +00:00
|
|
|
*/
|
|
|
|
namespace SkBlurDrawLooper {
|
2019-01-09 20:57:34 +00:00
|
|
|
sk_sp<SkDrawLooper> SK_API Make(SkColor4f color, SkColorSpace* cs,
|
|
|
|
SkScalar sigma, SkScalar dx, SkScalar dy);
|
2017-09-20 19:51:08 +00:00
|
|
|
sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
|
2020-08-06 18:11:56 +00:00
|
|
|
} // namespace SkBlurDrawLooper
|
2008-12-17 15:59:43 +00:00
|
|
|
|
|
|
|
#endif
|