Go to the source code of this file.
◆ make_blur()
Definition at line 64 of file coloremoji.cpp.
64 {
66}
static sk_sp< SkImageFilter > Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
◆ make_color_filter()
Definition at line 68 of file coloremoji.cpp.
68 {
71}
#define SkColorSetRGB(r, g, b)
static sk_sp< SkColorFilter > Lighting(SkColor mul, SkColor add)
◆ make_grayscale()
Definition at line 53 of file coloremoji.cpp.
53 {
55 memset(matrix, 0, 20 * sizeof(float));
62}
static sk_sp< SkColorFilter > Matrix(const SkColorMatrix &)
static sk_sp< SkImageFilter > ColorFilter(sk_sp< SkColorFilter > cf, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
unsigned useCenter Optional< SkMatrix > matrix
◆ MakeLinear()
Definition at line 45 of file coloremoji.cpp.
45 {
46 constexpr SkPoint kPts[] = { { 0, 0 }, { 32, 32 } };
48 constexpr SkColor kColors[] = {0x80F00080, 0xF0F08000, 0x800080F0 };
51}
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)