如何在Metro Style应用程序中获取个性化接触点 [英] How to get individual touch points in Metro Style app

查看:72
本文介绍了如何在Metro Style应用程序中获取个性化接触点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将现有的Windows Phone应用移植到Metro Style应用。在我的Windows Phone应用程序中,我通过使用Touch.FrameReported事件检测单个触摸点来实现了捏合功能。如何在Metro Style应用程序中实现相同的功能?基本上
我想在Metro Style app中实现Pinch功能。

I am porting my existing Windows Phone app to Metro Style app. In my Windows Phone app, I had implemented a pinch functionality by detecting individual touch points using Touch.FrameReported event. How can I achieve the same in Metro Style app? Basically I want to implement Pinch functionality in Metro Style app.

推荐答案

Pinch已在Metro中实现。请参阅
此主题
。我想你想要缩放/扩展?

Pinch is already implemented in Metro. See this thread. I guess you want scale/expand ?

无论如何,我知道无法报告手指触摸屏幕的数量,以及它们的信息。此外,它不是MS的推荐,因为它可能导致不良的基本操作检测。

Anyway, I know of no way to report the number of finger touches the screen, and infos on them. Furthermore, it's not recommanded by MS, as it can cause bad base manipulation detection.


这篇关于如何在Metro Style应用程序中获取个性化接触点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆