Mouse Coalescing
Mouse Coalescing
- Subject: Mouse Coalescing
- From: Ian was here <email@hidden>
- Date: Sun, 19 Oct 2008 18:06:31 -0700 (PDT)
I have a drawing application that uses a pen tool to do free style drawing. I am using Quartz in OS X 10.4 (NSBezierPath). The initial problem I had was not getting enough points between event cycles if the user moved the mouse too quickly. I turned off mouse coalescing with a call to SetMouseCoalescingEnabled( false, NULL ). This gave me beautiful drawing. Only problem is that it's slow and takes a while to catch up after the mouse up event.
This is kind of an off the wall question, but is there another way to do this? I feel my only other option may be to use OPenGL, where the drawing would happen much faster.
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
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