Re: Optimizing NSRectFill
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