share code between arcTo and addArc, update dox

BUG=skia:

Review URL: https://codereview.chromium.org/863123005
2 files changed