arc implementation with three points

Notifying that the direction of painting may be in opposite in one case. Rest is good according to me.