4REG_FIDDLE(Bitmap_allocPixelsFlags, 256, 128,
false, 0) {
REG_FIDDLE(Bitmap_allocPixelsFlags, 256, 128, false, 0)
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
@ kZeroPixels_AllocFlag
zero pixel memory. No effect. This is the default.
void scale(SkScalar sx, SkScalar sy)
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
sk_sp< SkTypeface > matchFamilyStyle(const char familyName[], const SkFontStyle &) const
sk_sp< SkFontMgr > fontMgr
font
Font Metadata and Metrics.
static SkImageInfo MakeN32(int width, int height, SkAlphaType at)