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: Charles Srstka <email@hidden>
- Date: Wed, 9 Oct 2002 18:04:07 -0500
Is there any way to draw an NSBitmapImageRep while respecting the alpha
channel, i.e. to make the transparent parts actually transparent
instead of black?
Thanks,
Charles
On Wednesday, October 9, 2002, at 01:00 AM, Marcel Weiher wrote:
#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.
_______________________________________________
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.