17 SkPoint pts[] = {{0, 0}, {0, 250}};
27 canvas->drawString(
"Gradient", 10, 250,
f,
p);
@ kAntiAlias
may have transparent pixels on glyph edges
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)
DEF_SIMPLE_GM(crbug_1073670, canvas, 250, 250)
PODArray< SkColor > colors