delphi - 在绘图项目中使用平板电脑

标签 delphi touch multi-touch gesture-recognition pen-tablet

如何向我的项目添加对平板电脑绘图的支持?我的意思是,大多数数位板在定期握持时都具有充当“普通”指点设备的功能,但是当翻转笔时,它会充当橡皮擦(例如,OneNote 就是这样工作的)。

如何检测正在使用笔的哪一侧?

最佳答案

我会遵循您平板电脑的 native API。您的平板电脑供应商对 SDK 进行了非常详细的描述,其中包括几个 examples (在 Visual C++ 中)。

您具体要查找的是 the eraser detection

关于delphi - 在绘图项目中使用平板电脑,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9219006/

相关文章:

delphi - 有可用的自由形状按钮组件吗?

iphone - UIButton 事件 'Touch Up Inside' 不起作用。 'Touch Down' 工作正常

touch - Sencha touch 2 filterby() 不更新记录

javascript - 将 css 变换转换为缩放和位置

multithreading - 从互联网下载文件,同时能够随时中止下载

delphi - 从阻塞套接字更改为非阻塞套接字有什么好处?

delphi - 用于交互式空间数据可视化的3D库建议?

jquery - "Chaining"到可拖动调用以启用触摸功能

wpf - 是否可以在 WPF/Touch 应用程序中弹出一个忽略 MenuDropAlignment 的弹出窗口?

javascript - 在 Unity 中创建交互式 UI