Draw ellipse with start and end angle in Objective-C
问题 I am writing an iPad app in which I am rendering XML objects that represent shapes into graphics on the screen. One of the objects I am trying to render is arcs. Essentially these arcs provide me with a bounding rectangle as well as a start and end angle. Given attributes: x y width height startAngle endAngle With these values I need to draw the arc (which is essentially part of an ellipse). I can not use the following: UIBezierPath *arc = [UIBezierPath bezierPathWithOvalInRect:CGRectMake(x,