4REG_FIDDLE(Canvas_getBaseLayerSize, 256, 256,
true, 0) {
11 if (clipDeviceBounds.
isEmpty()) {
12 SkDebugf(
"Empty clip bounds is unexpected!\n");
REG_FIDDLE(Canvas_getBaseLayerSize, 256, 256, true, 0)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
@ kUnknown_SkPixelGeometry
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
virtual SkISize getBaseLayerSize() const
SkIRect getDeviceClipBounds() const
constexpr int32_t height() const
constexpr int32_t width() const
constexpr int32_t width() const
constexpr int32_t height() const
static SkImageInfo MakeN32Premul(int width, int height)
static constexpr SkRect MakeWH(float w, float h)