• 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: NSRulerView Fast Scrolling Issues
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSRulerView Fast Scrolling Issues


  • Subject: Re: NSRulerView Fast Scrolling Issues
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 3 Jan 2008 18:26:59 +0000

On 3 Jan 2008, at 16:36, David Harper wrote:

I am still trying to perfect the performance of the NSRulerView subclass in my application. What I know so far is as follows:

1. the rectangle passed into drawHashMarksAndLabelsInRect: represents the amount scrolled since the last time the rulerview was drawn.

You can't make that assumption, which is why things aren't working for you. Why do you need to know how much the rulerview has scrolled by? The NSRulerView code will already be copying pixels where appropriate anyway, so if you're trying somehow to "optimise" drawing, you're duplicating system functionality.


Perhaps you can explain what the performance problem is that you're trying to solve?

Kind regards,

Alastair.

--
http://alastairs-place.net




_______________________________________________

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: NSRulerView Fast Scrolling Issues
      • From: David Harper <email@hidden>
References: 
 >NSRulerView Fast Scrolling Issues (From: David Harper <email@hidden>)

  • Prev by Date: Circular initialization of controllers in NIB file
  • Next by Date: Re: NSRulerView Fast Scrolling Issues
  • Previous by thread: NSRulerView Fast Scrolling Issues
  • Next by thread: Re: NSRulerView Fast Scrolling Issues
  • Index(es):
    • Date
    • Thread