Saturday, June 20, 2009

More Efficient

Reprogrammed the drawing algorithm for the Graffiti. Previously, whenever the view needed to be updated, the mini iPhone background was redrawn along with the Graffiti. However, this resulted in the iPhone losing memory quickly and slow redraw times, as the image that depicted the iPhone background had to get stored to memory, drawn, and then the Graffiti would be drawn.

Now, whenever the Graffiti preview view needs to be redrawn, only that view is redrawn, resulting in WAY better performance.

No comments:

Post a Comment