Go to the source code of this file.
|
| REG_FIDDLE (Surface_makeImageSnapshot_2, 256, 64, false, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Surface_makeImageSnapshot_2 |
, |
|
|
256 |
, |
|
|
64 |
, |
|
|
false |
, |
|
|
0 |
|
|
) |
| |
Definition at line 4 of file Surface_makeImageSnapshot_2.cpp.
4 {
11 lil->draw(big->getCanvas(), 16, 16);
15}
16}
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorBLACK
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
static SkImageInfo MakeN32Premul(int width, int height)
static SkImageInfo MakeN32(int width, int height, SkAlphaType at)