I am using drawRect to draw a pretty simple shape (dark blue in the image below). I'd like this to animate from the left to the right, so that it gr ...
I am using drawRect to draw a pretty simple shape (dark blue in the image below). I'd like this to animate from the left to the right, so that it gr ...
EDIT: What I am trying to achieve is skip the call to firstDraw() the second time that drawRect is called. Reason for this is that in my real code I ...
I used CGContext to draw dashed lines in iOS. My code is as follow. It is fine if the slope of the line is steep. If not steep, the dashed line has ...
I am drawing a line graph by using CGContextRef. Can I zoom in zoom out this graph to show lines clearly. I am using this code. Note:- I don't wan ...
Is there any way to draw lines in CGContext which connected with each other with 45 degree angle, like this picture shows: ...
I am trying to make a shape that strokes and fills but it does not fill. Here is my code: Here is it how it looks now: The area in the middle ...