🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #647

Waccom Tablet

#647
From: Kyle Miller
Date: Sat, 08 Mar 2003 15:50
13 lines
1559 bytes
I have a 12x12 Waccom Intuous tablet that I've been playing with in bcb. In
order to access the tablet you have to load functions from a dll called
WinTab32.dll and create a "context" for the tablet. I've done that
successfully and I have been able to retrieve x,y position, pressure,
tilt/angle information. The problem is that the coordinates given by the
tablet are relative to the tablet (i.e. whole screen), but I need
coordinates relative to TForm or TImage.

How can I accurately convert the coordinates or modify the tablet's context
to be realitive to a TImage?

I've been working with the information on this page:
http://www.csl.sony.co.jp/projects/ar/restricted/wintabl.html
Technical Details
Message-ID: <3e6a10cd@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,1fcb1bf2878294db,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2003-03-08 07:55:38 PST
From: "Kyle Miller" <mille856@msu.edu>
Newsgroups: borland.public.cppbuilder.multimedia
Subject: Waccom Tablet
Date: Sat, 8 Mar 2003 10:50:30 -0500
Lines: 15
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 12.210.100.49
Message-ID: <3e6a10cd@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047138509 12.210.100.49 (8 Mar 2003 07:48:29 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail