7 paint.setAntiAlias(
true);
8 paint.setColor(0x80349a45);
10 paint.setStrokeWidth(100);
12 canvas->
scale(1, 1.2f);
14 canvas->
scale(.6f, .8f);
REG_FIDDLE(Canvas_drawPoint, 256, 256, false, 0)
constexpr SkColor SK_ColorWHITE
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void drawPoint(SkScalar x, SkScalar y, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
@ kStroke_Style
set to stroke geometry