• 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
Rotated NSImage drawAtPoint:... slow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Rotated NSImage drawAtPoint:... slow


  • Subject: Rotated NSImage drawAtPoint:... slow
  • From: Ben Lachman <email@hidden>
  • Date: Wed, 20 Feb 2008 16:04:13 -0500

I just finished working on a view that draws some stuff at an angle including an NSImage created from a tiff with alpha. It worked great in the test project with no noticeable performance issues. I imported it into my main project and hooked it into my view hierarchy and it now hangs for about 8 seconds while loading the view. Looking at samples all the time is being spent in -[NSBitmapImageRep loadData] for that image (its only 138x188px). If I comment out the drawAtPoint: call that draws the image the view loads without any hang time. Any thoughts on why this would be happening? This is on 10.4.11.

->Ben

--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

email@hidden
740.590.0009



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Rotated NSImage drawAtPoint:... slow (*$?! photoshop)
      • From: Ben Lachman <email@hidden>
  • Prev by Date: Re: Singleton as a common area?
  • Next by Date: Using Garbage Collection (Cross Language)
  • Previous by thread: Re: CalendarStore question
  • Next by thread: Re: Rotated NSImage drawAtPoint:... slow (*$?! photoshop)
  • Index(es):
    • Date
    • Thread