8 paint.setAntiAlias(
true);
9 const SkPoint points[] = { { 60, -110 }, { 90, 10 }, { 120, -110 }, { 180, -50 } };
12 for (
auto point :
points) {
13 paint.setStrokeWidth(1);
17 normal.setLength(100);
18 paint.setStrokeWidth(10);
19 paint.setColor(0x3f45bf12);
static const int points[]
constexpr SkColor SK_ColorBLACK
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void translate(SkScalar dx, SkScalar dy)
void drawLine(SkScalar x0, SkScalar y0, SkScalar x1, SkScalar y1, const SkPaint &paint)
#define REG_FIDDLE(NAME, W, H, TEXT, I)