20 paint.setStrokeWidth(5.f);
21 paint.setAntiAlias(
true);
24 for (
int i = 0;
i < 700; ++
i) {
26 circleVertices[
i] = {100.f + 2.f *
SkScalarCos(angleRads),
31 circle.
moveTo(circleVertices[0]);
32 for (
int i = 1;
i < 700; ++
i) {
33 circle.
lineTo(circleVertices[
i]);
#define SkScalarSin(radians)
#define SkScalarCos(radians)
@ kStroke_Style
set to stroke geometry
SkPathBuilder & lineTo(SkPoint pt)
SkPathBuilder & moveTo(SkPoint pt)
DEF_SIMPLE_GM(crbug_1086705, canvas, 200, 200)