Go to the source code of this file.
◆ InstallPaint
typedef void(* InstallPaint) (SkPaint *, uint32_t, uint32_t) |
◆ install_lighting()
static void install_lighting |
( |
SkPaint * |
paint, |
|
|
uint32_t |
mul, |
|
|
uint32_t |
add |
|
) |
| |
|
static |
Definition at line 47 of file colorfilters.cpp.
47 {
49}
static sk_sp< SkColorFilter > Lighting(SkColor mul, SkColor add)
◆ install_nothing()
static void install_nothing |
( |
SkPaint * |
paint, |
|
|
uint32_t |
, |
|
|
uint32_t |
|
|
) |
| |
|
static |
◆ make_shader()
Definition at line 28 of file colorfilters.cpp.
28 {
32 };
36 };
39}
constexpr SkColor SK_ColorYELLOW
constexpr SkColor SK_ColorMAGENTA
constexpr SkColor SK_ColorCYAN
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorBLACK
constexpr SkColor SK_ColorGREEN
static sk_sp< SkShader > MakeLinear(const SkPoint pts[2], const SkColor colors[], const SkScalar pos[], int count, SkTileMode mode, uint32_t flags=0, const SkMatrix *localMatrix=nullptr)
Optional< SkRect > bounds
PODArray< SkColor > colors