4REG_FIDDLE(Canvas_drawPicture_2, 256, 256,
false, 0) {
13 recordingCanvas->
scale(1.2f, 1.4f);
REG_FIDDLE(Canvas_drawPicture_2, 256, 256, false, 0)
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void scale(SkScalar sx, SkScalar sy)
void drawPicture(const SkPicture *picture)
SkCanvas * beginRecording(const SkRect &bounds, sk_sp< SkBBoxHierarchy > bbh)
sk_sp< SkPicture > finishRecordingAsPicture()