円弧を描く
lszk
2015-05-31 No Comments on 円弧を描く
CGContextAddArcToPoint は直線をrでつなぐときに便利らしい。
http://stackoverflow.com/questions/8709794/when-drawing-an-arc-using-cgcontextaddarctopoint-what-does-x1-y1-and-x2-y2
扇型を書きたければ CGContextAddArc
CGContextAddArc の clockwise は iOS では逆になる。Y軸がさかさまなため。(Documentation にも書いてあった)