In Core Graphics:
How can you get the context?
Using UIGraphicsGetCurrentContext.
CGContextRef ctx = UIGraphicsGetCurrentContext();
In Core Graphics:
What function is used to draw an arc of a circle?
CGContextAddArc (context, x, y, radius, startAngle, endAngle, clockwise)
In Core Graphics:
What is the function used to draw the current path?
CGContextDrawPath (context, mode)
In Core Graphics:
What function is used to draw a rectangle?
CGContextAddRect (context, rect)