Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
ColorGetA |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file ColorGetA.cpp.
4 {
9 for (int alpha = 255; alpha >= 0; alpha -= 17) {
10 paint.setAlpha(alpha);
15 }
16}
17}
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)