MonoTouch手指涂料样品

时间:2011-01-05 18:26:32

标签: c# touch xamarin.ios xamarin.android

是否有MonoTouch或MonoDroid的示例代码显示如何获取当前触摸点并将其绘制到屏幕上(即像app一样的指纹)?

3 个答案:

答案 0 :(得分:3)

请参阅单触拍样本https://github.com/migueldeicaza/monotouch-samples

中的GLPaint示例

答案 1 :(得分:3)

我还有一篇CoreGraphics博客文章,其中显示了如何触及:http://mikebluestein.wordpress.com/2010/02/21/drawing-with-coregraphics-in-monotouch-2/

答案 2 :(得分:1)

我不确定是否有指纹应用程序,但github上的Monotouch.Dialog(https://github.com/migueldeicaza/MonoTouch.Dialog)都有检测触摸的示例,以及绘制线条&弧到图形上下文。您可以尝试组合这两个代码示例。另外,检查Quartz2d的绘图 - 我相信它对于大量绘图来说效率更高。

相关问题