9 for (
int alpha = 255; alpha >= 0; alpha -= 17) {
10 paint.setAlpha(alpha);
REG_FIDDLE(ColorGetA, 256, 256, false, 0)
constexpr SkColor SK_ColorRED
#define SkColorGetA(color)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
sk_sp< SkTypeface > matchFamilyStyle(const char familyName[], const SkFontStyle &) const
sk_sp< SkFontMgr > fontMgr
static SkString to_string(int n)