• 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: Optimizing NSRectFill
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimizing NSRectFill


  • Subject: Re: Optimizing NSRectFill
  • From: Ken Thomases <email@hidden>
  • Date: Sun, 21 Dec 2008 16:18:10 -0600

On Dec 21, 2008, at 3:45 PM, Michael Ash wrote:

However, something I didn't know: it appears that something coalesces
mouseDragged: events. They don't pile up the way I thought I would.
Rather, when you come back around, you only get one mouseDragged: with
the latest location. In other words, while the framework always
follows a consistent event, draw, event, draw sequence (at least in my
testing) it will not build up a long queue of events simply from
dragging the mouse around.

[...]

Also if you actually care about the path that the user's mouse took in
the time between drawing, you'll have to do something fancier.

See SetMouseCoalescingEnabled and IsMouseCoalescingEnabled.

Cheers,
Ken

_______________________________________________

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: 
 >Re: Optimizing NSRectFill (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Optimizing NSRectFill (From: Scott Ribe <email@hidden>)
 >Re: Optimizing NSRectFill (From: "Michael Ash" <email@hidden>)
 >Re: Optimizing NSRectFill (From: "Glenn L. Austin" <email@hidden>)
 >Re: Optimizing NSRectFill (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: Memory Management Q. 1 and 2
  • Next by Date: NSFileManager copy -> AFP croaks on extended attributes
  • Previous by thread: Re: Optimizing NSRectFill
  • Next by thread: Re: Optimizing NSRectFill
  • Index(es):
    • Date
    • Thread