4REG_FIDDLE(Bitmap_pixelRefOrigin, 256, 256,
true, 3) {
10 SkDebugf(
"source origin: %d, %d\n", sourceOrigin.
fX, sourceOrigin.
fY);
11 SkDebugf(
"subset origin: %d, %d\n", subsetOrigin.
fX, subsetOrigin.
fY);
REG_FIDDLE(Bitmap_pixelRefOrigin, 256, 256, true, 3)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
SkIPoint pixelRefOrigin() const
bool extractSubset(SkBitmap *dst, const SkIRect &subset) const
static constexpr SkIRect MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h)