Raleigh,
Thanks a lot for your suggestion. I have already tried the easy route, it
works, but people is not happy with that since when the pen is outside the
view, it won't draw on it. It's hard for user to keep the pen inside the
view. That is why I am looking for a better solution.
So it sounds
Here are the following ways to see NSTabletPoint events (or -
tabletPoint:)
1. Between the mouseDown: and first mouseDragged:. During this period
of time, other tablet properties may be changing (such as pressure or
tilt). Once the user moves the pen enough to move the cursor at least
1 pi
Hi John,
As a former Wacom OS X Software Engineer, I believe I can be of some
assistance.
There are 2 routes you can go. Easy and Hard.
Easy:
Just grab any pertinent tablet info out of the mouseDragged event. You
can make sure that the mouse event has tablet data via [event subType]
== N
Ben,
I tried both turn off or turn on the Ink from Ink panel, but still not
seeing the NSTabletPoint event in either case.
Thanks,
John
On Tue, Nov 4, 2008 at 11:34 AM, Benjamin Stiglitz <[EMAIL PROTECTED]> wrote:
> > Did I miss something, or I was doing something wrong? I have
> > InkSetAppli
> Did I miss something, or I was doing something wrong? I have
> InkSetApplicationWritingMode (kInkWriteAnywhereInApp);
>
> InkSetApplicationRecognitionMode (kInkRecognitionGesture |
> kInkRecognitionText);
You don’t want to turn on Ink in your case, since you want to capture
the tablet events o
I tried to implement a - (void)tabletPoint:(NSEvent *)theEvent in my
imageView class, but it didn't receive the event. I then tried to check
the NSTabletPoint in - (void)sendEvent:(NSEvent *)event of my event handler
class, but it didn't receive the NSTabletPoint event either. It did
receive NSTa
Kevin,
Do you mean to implement the - (void)tabletPoint:(NSEvent *)theEvent in my
imageView class and construct the path from the points ? I will give it a
shot, thanks!
John
On Mon, Nov 3, 2008 at 4:01 PM, Kevin Gessner <[EMAIL PROTECTED]>wrote:
> If you use NSEvent to get a tablet event, the
If you use NSEvent to get a tablet event, the absoluteX, absoluteY,
and absoluteZ will give you position information. I believe that it
will be independent of the image view coordinates. You could construct
a path from that, and even include the pressure and rotation
information as well (th
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 i