• 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: NSWindow subclass VERY slow to resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindow subclass VERY slow to resize


  • Subject: Re: NSWindow subclass VERY slow to resize
  • From: "Paul Sanders" <email@hidden>
  • Date: Fri, 26 Mar 2010 18:17:35 -0000

Have a look at -[NSBezierPath setFlatness:].  A larger value
might be faster (but might also look ugly).  There's also a bit
of code floating around in the web-o-sphere that might be faster
than what you are using:

http://lists.apple.com/archives/Cocoa-dev/2006/Mar/msg01940.html

Paul Sanders

----- Original Message -----
From: "Daniel Weber" <email@hidden>
To: <email@hidden>
Sent: Friday, March 26, 2010 6:08 PM
Subject: Re: NSWindow subclass VERY slow to resize


It appears that drawing the rounded rect vs. a regular rect is
slow.
Also, I am filling using a pattern image vs. a solid color.
These
things add up to a pretty slow redraw at large sizes. I can set
the
max size to something relative low, but does anyone have any
other
suggestions?



_______________________________________________

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

References: 
 >NSWindow subclass VERY slow to resize (From: Daniel Weber <email@hidden>)
 >Re: NSWindow subclass VERY slow to resize (From: Jens Alfke <email@hidden>)
 >Re: NSWindow subclass VERY slow to resize (From: Daniel Weber <email@hidden>)

  • Prev by Date: Re: How to catch modal window appearance?
  • Next by Date: Re: NSWindow subclass VERY slow to resize
  • Previous by thread: Re: NSWindow subclass VERY slow to resize
  • Next by thread: Re: NSWindow subclass VERY slow to resize
  • Index(es):
    • Date
    • Thread