5REG_FIDDLE(Canvas_getBaseLayerSize, 256, 256,
true, 0) {
12 if (clipDeviceBounds.
isEmpty()) {
13 SkDebugf(
"Empty clip bounds is unexpected!\n");
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
#define REG_FIDDLE(NAME, W, H, TEXT, I)
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)