Skia
2D Graphics Library
SkBlurDrawLooper.h
Go to the documentation of this file.
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 
12 
13 #ifndef SK_SUPPORT_LEGACY_DRAWLOOPER
14 #error "SkDrawLooper is unsupported"
15 #endif
16 
20 namespace SkBlurDrawLooper {
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
uint32_t SkColor
32-bit ARGB color value, unpremultiplied.
Definition: SkColor.h:37
float SkScalar
Definition: SkScalar.h:14
Definition: SkColorSpace.h:107
Shared pointer class to wrap classes that support a ref()/unref() interface.
Definition: SkRefCnt.h:220
DEPRECATED: No longer supported in Skia.
Definition: SkBlurDrawLooper.h:20
sk_sp< SkDrawLooper > SK_API Make(SkColor4f color, SkColorSpace *cs, SkScalar sigma, SkScalar dx, SkScalar dy)
RGBA color value, holding four floating point components.