Flutter Engine
The Flutter Engine
Functions
makeRasterImage_fail.cpp File Reference
#include "tools/fiddle/examples.h"

Go to the source code of this file.

Functions

 REG_FIDDLE (makeRasterImage_fail, 256, 256, false, 5)
 

Function Documentation

◆ REG_FIDDLE()

REG_FIDDLE ( makeRasterImage_fail  ,
256  ,
256  ,
false  ,
 
)

Definition at line 4 of file makeRasterImage_fail.cpp.

4 {
5void draw(SkCanvas* canvas) { canvas->drawImage(image->makeRasterImage(), 0, 0); }
6} // END FIDDLE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
Definition: aaclip.cpp:27
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
Definition: SkCanvas.h:1528
sk_sp< SkImage > makeRasterImage(GrDirectContext *, CachingHint cachingHint=kDisallow_CachingHint) const
Definition: SkImage.cpp:267
sk_sp< const SkImage > image
Definition: SkRecords.h:269