• 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
Capturing the stylus (ink input) in cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Capturing the stylus (ink input) in cocoa
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Example code for SOAP requests with attachments
  • Next by Date: Re: Capturing the stylus (ink input) in cocoa
  • Previous by thread: Example code for SOAP requests with attachments
  • Next by thread: Re: Capturing the stylus (ink input) in cocoa
  • Index(es):
    • Date
    • Thread