18 for (
int y = 0;
y < pixmap.
height(); ++
y) {
19 for (
int x = 0;
x < pixmap.
width(); ++
x) {
constexpr SkColor SK_ColorWHITE
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
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
@ kAlias
no transparent pixels on glyph edges
const uint32_t * addr32() const
const void * addr() const
sk_sp< SkFontMgr > fontMgr
#define REG_FIDDLE(NAME, W, H, TEXT, I)
static SkImageInfo MakeN32Premul(int width, int height)