Re: Can I get AppKit to draw this faster ?
Re: Can I get AppKit to draw this faster ?
- Subject: Re: Can I get AppKit to draw this faster ?
- From: Marcel Weiher <email@hidden>
- Date: Wed, 9 Oct 2002 08:00:23 +0200
#1 advice, at least back in NS/OS days: don't use NSImage.
I thought the #1 advice was to cache your drawings in NSImages and
draw from them :)
Only (a) small bitmaps (b) few bitmaps (c) drawn repeatedly without
change in scale or orientation. In all other cases NSImage is just
overhead, quality killer, swap-tester...
Hmm - looking through the AppKit dox - would you expect NSDrawBitmap
to be any faster ?
[NSBitmapImageRep draw] should do the trick
Marcel
--
Marcel Weiher Metaobject Software Technologies
email@hidden www.metaobject.com
Metaprogramming for the Graphic Arts. HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.