Could it be that you're not closing your path? Right at the end you might need:
CGContextClosePath(context);
No one in particular
2010-09-14 22:14:32
Could it be that you're not closing your path? Right at the end you might need:
CGContextClosePath(context);
Have you profiled your app to figure out where most of the time is spent when it slows down?
It could be in the path stroke in core graphics, in your computational methods, or somewhere else. If you start optimizing before you have any profile/performance data, you may end up spending time in the wrong place.