13 canvas->
scale(2, 1/2.f);
18 canvas->
scale(2, 1/2.f);
REG_FIDDLE(Canvas_translate, 256, 128, false, 0)
constexpr SkColor SK_ColorGRAY
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorRED
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void scale(SkScalar sx, SkScalar sy)
void drawCircle(SkScalar cx, SkScalar cy, SkScalar radius, const SkPaint &paint)
void setStyle(Style style)
void setColor(SkColor color)
@ kStroke_Style
set to stroke geometry