Go to the source code of this file.
|
| REG_FIDDLE (Surface_notifyContentWillChange, 256, 256, true, 0) |
|
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Surface_notifyContentWillChange |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
0 |
|
|
) |
| |
Definition at line 5 of file Surface_notifyContentWillChange.cpp.
5 {
8 for (int i = 0; i < 3; ++i) {
10 if (0 == i) {
12 } else {
14 }
15 }
16}
17}
constexpr SkColor SK_ColorBLACK
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
@ kDiscard_ContentChangeMode
discards surface on change
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
static SkImageInfo MakeN32Premul(int width, int height)