Go to the source code of this file.
|
| REG_FIDDLE (Image_encodeToData, 256, 256, false, 3) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Image_encodeToData |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
false |
, |
|
|
3 |
|
|
) |
| |
Definition at line 5 of file Image_encodeToData.cpp.
5 {
10 for (int quality : { 0, 10, 50, 100 } ) {
15 makeSubset(nullptr, subset);
18 }
19}
20}
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_API sk_sp< SkImage > DeferredFromEncodedData(sk_sp< SkData > encoded, std::optional< SkAlphaType > alphaType=std::nullopt)
SK_API bool Encode(SkWStream *dst, const SkPixmap &src, const Options &options)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data