Go to the source code of this file.
◆ REG_FIDDLE()
REG_FIDDLE |
( |
Bitmap_pixelRefOrigin |
, |
|
|
256 |
, |
|
|
256 |
, |
|
|
true |
, |
|
|
3 |
|
|
) |
| |
Definition at line 4 of file Bitmap_pixelRefOrigin.cpp.
4 {
10 SkDebugf(
"source origin: %d, %d\n", sourceOrigin.
fX, sourceOrigin.
fY);
11 SkDebugf(
"subset origin: %d, %d\n", subsetOrigin.
fX, subsetOrigin.
fY);
12}
13}
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)