• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I get AppKit to draw this faster ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Can I get AppKit to draw this faster ? (From: Nat! <email@hidden>)

  • Prev by Date: How to use "SEL"
  • Next by Date: Re: How to use "SEL"
  • Previous by thread: Re: Can I get AppKit to draw this faster ?
  • Next by thread: Re: Can I get AppKit to draw this faster ?
  • Index(es):
    • Date
    • Thread