Lines Matching refs:cx
14 static SkPath generate_square(SkScalar cx, SkScalar cy, SkScalar w) { in generate_square() argument
15 SkRect rect = SkRect::MakeXYWH(cx - w / 2, cy - w / 2, w, w); in generate_square()
21 static SkPath generate_rect_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_rect_line() argument
22 SkRect rect = SkRect::MakeXYWH(cx - l / 2, cy, l, 0); in generate_rect_line()
28 static SkPath generate_circle(SkScalar cx, SkScalar cy, SkScalar d) { in generate_circle() argument
30 path.addCircle(cx, cy, d/2, SkPath::kCW_Direction); in generate_circle()
34 static SkPath generate_line(SkScalar cx, SkScalar cy, SkScalar l) { in generate_line() argument
36 path.moveTo(cx - l / 2, cy); in generate_line()
37 path.lineTo(cx + l / 2, cy); in generate_line()
83 SkScalar cx = slideWidth / 2 + slideBoundary; in onDraw() local
124 SkPath path = paths[pathIndex](cx, cy, size); in onDraw()