如何用手指在WP7中绘制形状? [英] How to draw shapes in WP7 with the finger?

查看:117
本文介绍了如何用手指在WP7中绘制形状?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何用手指在WP7中绘制形状?我正在尝试实现一个简单的绘画应用程序,但是我不确定如何制作绘图.

How to draw shapes in WP7 with the finger? I am trying to implement a simple paint application but I am not sure how to make the drawing.

推荐答案

fingerpaint是你的朋友

fingerpaint is your friend

或C#中的 http://sigurdsnorteland.wordpress.com/2010/10/20/fingerpaint-a-little-wp7-paint-app/

请注意,两组代码并不完全相同-C#手指画图在旧轨道上绘制新轨道时存在一些问题,因此在编写Ruby轨道时我对此进行了修改.

Note that the two sets of code aren't quite the same - the C# fingerpaint had some issues about drawing new tracks on top of old ones so I modified this when I wrote the Ruby one.

还请注意,要进一步进行操作,您可能应该支持多点触摸.

Also note that to take this further, you should probably support multitouch.

这篇关于如何用手指在WP7中绘制形状?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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