CGContextAddArcToPoint函数:
void CGContextAddArcToPoint ( CGContextRef c, CGFloat x1, CGFloat y1, CGFloat x2, CGFloat y2, CGFloat radius);
通过传入的两个point来确定圆弧的位置,然后将当前起点和圆弧的起点直线连接,最后设置上下文中的起点为圆弧的终点,具体看图。