Hi guys,

first let me thank you for all information and suggestions you provided!

Am 26.10.2009 um 00:48 schrieb I. Savant:

That was entirely my fault, sorry. I have no idea where I got the idea it was for a screen saver. I did not follow the link. In my defense, a better description of the application's requirements would've helped in determining a course.

You're right and the first draft of my mail included much more details about the application, especially about the drawing sequence leading to this high number of NSBezierPath operations. Afterwards I though, why to bother you with embroideries, stitches etc., and I deleted the stuff and include the screenshot link instead ... No need to be sorry, but I am:

Hit me with a stick (and hit me hard)!

For some reasons I still don't understand (Argh!) the drawRect: method of my view didn't pass the right rectangle to the object actually responsible for the drawing. I just fixed the code to aim for the best performance improvement: Don't draw at all (at least not hidden objects). I'm satisfied with the result as the poor performance was while zooming and scrolling zoomed areas, exactly the situations, which benefit most from drawing only in the visible part.

I do apologize wasting your time ... well, not completely, because I learned a thing or two about image caching, performance measurement, Cocoa drawing performance and I promise I will sometime get my hands on OpenGL ... maybe for a screen saver!

Thanks again, I adore this list, Matthias
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to