21 float matrix[20] = { 1, 0, 0, 0, 0.5f,
static sk_sp< SkColorFilter > Matrix(const SkColorMatrix &)
static sk_sp< SkImageFilter > ColorFilter(sk_sp< SkColorFilter > cf, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
void setImageFilter(sk_sp< SkImageFilter > imageFilter)
DEF_SIMPLE_GM(fadefilter, canvas, 256, 256)
unsigned useCenter Optional< SkMatrix > matrix
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)