Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Bitmap_setInfo |
, |
|
|
256 |
, |
|
|
96 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Bitmap_setInfo.cpp.
4 {
13 offscreen.drawString(
"!@#$%", 0, 12,
font,
paint);
16}
17}
@ kOpaque_SkAlphaType
pixel is opaque
constexpr SkColor SK_ColorGREEN
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void scale(SkScalar sx, SkScalar sy)
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)