Hi in my application i have to draw a circle on view. For that i used below code
CGContextRef contextRef = UIGraphicsGetCurrentContext();
CGContextSetLineWidth(contextRef, 2.0);
CGContextSetRGBStrokeColor(contextRef,red,green,blue, 1.0);
CGRect circlePoint = (CGRectMake(rect.origin.x,rect.origin.y,rect.size.width,rect.size.height));
CGContextStrokeEllipseInRect(contextRef, circlePoint);
i am getting the circle also but i am getting the circle in this manner
if any one have any idea please let me know. Thanks in advance please help.