Capturing the stylus (ink input) in cocoa
Capturing the stylus (ink input) in cocoa
- Subject: Capturing the stylus (ink input) in cocoa
- From: email@hidden
- Date: Wed, 16 Nov 2005 15:32:24 -0800
Hi everyone,
I'm experimenting with some handwriting practice ideas, and am wondering
how to capture the stylus pen so that its movement is limited to my
view.
As an example, I have a small stylus and pad that is 2in x 2in, so I
create a view
that is also 2in x 2in, that way drawing something in the tablet
appears just
how it should be in terms of size and position, not maginified to
cover the whole
area of the screen. (Its disorienting to draw a small letter in a
small tablet and have it show up 4x larger)
So the problem is, how do I distinguish the pen from the mouse?
And how do I make sure that my view, captures all the ink data so that
the mouse cursor doesn't move when the pen does?
Is this possible in Cocoa? There doesn't seem to be much
documentation for cocoa...
Any help would be appreciated.
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden