如何检测用户在iPhone SDK中绘制矩形,椭圆形或其他几何形状的东西? [英] how to detect user draw rectangle, ellipse or other geometric things in iphone sdk?
本文介绍了如何检测用户在iPhone SDK中绘制矩形,椭圆形或其他几何形状的东西?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的任务是开发像iDesk这样的应用程序.我已经发布了一个问题 在stackoverflow上,我找到了一种识别用户绘制圆的方法检测圆
I have task to develop an application like iDesk. i have already post a question on stackoverflow i have find a way how to recognize user draw a circle detecting circle
现在我要对所有几何形状(例如椭圆形,矩形或其他形状)进行手势.
now i want to gesture all geometric like ellipse,rectangle or others.
我对此一无所知,请帮助我.
i have not any idea about it please help me.
推荐答案
您需要非常熟悉"Core Graphics"绘图框架.
You need to be very familiar with "Core Graphics" framework for drawing .
对于形状识别,您需要一些数学大师或一些C库(如果有这样的库),这确实是一项艰巨的任务.
For shape recognition you need some math master or some C library (if there is such library) , that is really difficult task .
这篇关于如何检测用户在iPhone SDK中绘制矩形,椭圆形或其他几何形状的东西?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文