开发者

iOS example that records strokes on screen as vector input

开发者 https://www.devze.com 2023-02-27 05:46 出处:网络
I\'m looking for an iOS app or example code that allows a user to draw on the screen and records the drawing as some sort of vector format.What I have in mind is similar to this app:

I'm looking for an iOS app or example code that allows a user to draw on the screen and records the drawing as some sort of vector format. What I have in mind is similar to this app:

http://mugtug.com/sketchpad/

Except much simpler-- the example or app doesn't necessarily need to support brushes or colors, just save the user's strokes in some vector format (i.e. a sequence of (x, y) points for each stroke).

Apps like SketchBook MobileX supports basic drawing functionality, but as far as I can tell it only saves sketches as images:

http://itu开发者_如何学运维nes.apple.com/us/app/sketchbook-mobilex/id327376639?mt=8

Does anything like this exist yet?

Thanks!!


Example and Library with Smooth line View: https://github.com/interlock/Smooth-Line-View

It records points and renders as Splines or Bezier curves. Could easily be modified to output SVG. If you do, send a pull request and I'll integrate it :-)

0

精彩评论

暂无评论...
验证码 换一张
取 消