26 for (
int i = 0;
i < 15;
i++)
28 for (
int j = 0; j < 10; j++)
32 canvas->translate(
i * 15.f, j * 20.f);
35 .cubicTo(14, 10, 13, 12, 10, 12)
36 .cubicTo(7, 15, 8, 17, 14, 18)
void setStyle(Style style)
void setAntiAlias(bool aa)
@ kStroke_Style
set to stroke geometry
void setStrokeWidth(SkScalar width)
static SkPath Oval(const SkRect &, SkPathDirection=SkPathDirection::kCW)
DEF_SIMPLE_GM(bug5252, canvas, 500, 500)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
static constexpr SkRect MakeWH(float w, float h)