SimplyDraw - Arcs

This is a rather simple example that shows how to use arcs.

Perhaps the use of the atbegin() function encourages you to take a look at the documentation of PyX. You might find many more interesting things.

a = 35

stroke(circle(0, 0, 1), [linestyle.dashed])
b = path(arc(0, 0, 1, -a, a))
stroke(b, [linewidth.thick])

(x, y) = b.atbegin()
stroke(line(x, -1, x, 1))