如何在iOS中实现画笔画笔 [英] How to achieve paint brush strokes in iOS

查看:342
本文介绍了如何在iOS中实现画笔画笔的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个iOS应用程序,使用画笔来绘制板。我创建了一个简单的绘图工具,用户可以绘制,但我真正需要的是一个绘制工具,用画笔描边绘制。反正在原生iOS应用程序开发中实现相同?请参阅我的示例图片的链接,我的真正需要的画笔笔迹。 https:// docs.google.com/file/d/0B_FjcAB2Vvk6RlFlYUUtTW1haVU/edit

I am developing an iOS app that uses a paint brush to draw in a board.I have created a simple paint tool with which user can paint,but what I really need is a paint tool that draws with brush stroke.Is there anyway to achieve the same in native iOS app development? please see the link of my the sample image of brush stroke what I really need.https://docs.google.com/file/d/0B_FjcAB2Vvk6RlFlYUUtTW1haVU/edit

推荐答案

事实是,您必须前往GLPaint

the fact is you'll have to go to GLPaint

https://developer.apple.com/library/ios/samplecode/GLPaint/Introduction/Intro.html

请考虑 https://github.com/rbuussyghin/glpaint

http://stackoverflow.com/a/2045262/294884

这并不容易。

确实,这是一个巨大的PITA令人惊讶的是,没有人在iOS中有一个现成的解决方案。

Indeed, it's a huge P.I.T.A. Surprisingly, nobody has a ready-made solution for this in iOS.

这篇关于如何在iOS中实现画笔画笔的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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