4REG_FIDDLE(Canvas_MakeRasterDirectN32, 256, 256,
true, 0) {
20 canvas->drawPoint(1, 1,
paint);
23 SkDebugf(
"%c", pixels[
y][
x] == pmWhite ?
'-' :
'x');
REG_FIDDLE(Canvas_MakeRasterDirectN32, 256, 256, true, 0)
constexpr SkColor SK_ColorWHITE
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
static std::unique_ptr< SkCanvas > MakeRasterDirectN32(int width, int height, SkPMColor *pixels, size_t rowBytes)