How i implent the CGContext function in iphone using objective-C?
- by Rajendra Bhole
Hi,
I want to divide the circle using CGContext and following code of function,
CGContextBeginPath (context);
for (k = 0; k < count; k += 2) {
CGContextMoveToPoint(context, s[k].x, s[k].y);
CGContextAddLineToPoint(context, s[k+1].x, s[k+1].y);
}
CGContextStrokePath(context);
The above code i want to implement inside following code…