how to rotate the Circle in DrawRect?
- by senthilmuthu
HI,
i want to draw a circle in DrawRect through context like pie chart(took from tutorial) thorugh UITouch? i have given the code as follows,how can i rotate ? any help please?
define PI 3.14159265358979323846
define snapshot_start 360
define snapshot_finish 360
static inline float radians(double degrees) { return degrees * PI / 180; }
-…