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 #ifndef SkBlurDrawLooper_DEFINED 9 #define SkBlurDrawLooper_DEFINED 10 11 #include "include/core/SkDrawLooper.h" 12 13 #ifndef SK_SUPPORT_LEGACY_DRAWLOOPER 14 #error "SkDrawLooper is unsupported" 15 #endif 16 17 /** 18 * DEPRECATED: No longer supported in Skia. 19 */ 20 namespace SkBlurDrawLooper { 21 sk_sp<SkDrawLooper> SK_API Make(SkColor4f color, SkColorSpace* cs, 22 SkScalar sigma, SkScalar dx, SkScalar dy); 23 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy); 24 } // namespace SkBlurDrawLooper 25 26 #endif 27