About Ink drawing with wacom tablet
About Ink drawing with wacom tablet
- Subject: About Ink drawing with wacom tablet
- From: "john chen" <email@hidden>
- Date: Mon, 3 Nov 2008 15:54:14 -0600
Hi all,
I am working on to implement a signature feature in a cocoa application. I
have an NSImageView, and the goal is for user to sign their names using
wacom tablet and the signature would be drawn on the NSImageView. I was
wondering if there is an API (from Ink, or wacom ...) that once user is done
drawing on the tablet, I can call the API to get a NSImage, or
a NSBezierPath so I can draw directly onto the NSImageView ?
I saw there is post on cocoa-dev list,
http://www.cocoabuilder.com/archive/message/cocoa/2006/1/26/155365, but I
haven't figured out how to do it in my cocoa application.
At this point, since I haven't figure out how to get the information from
ink, I treated the pen as mouse and checking mouseDown event to draw
a NSBezierPath, which doesn't work well when the pen is outside the
NSImageView.
Thanks , I appreciate any help!
John
_______________________________________________
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