pocketsvg/PocketSVG

convert UIBezierpath to SVG

YJLgithub opened this issue · 8 comments

Steps to reproduce the issue

AFBrushBoard毛笔画板框架画完的图片怎么转SVG?

Please include all relevant code, including all PocketSVG method calls made.

Has my issue been reported?

My issue has been reported in the following closed issues:

Specifications

  • PocketSVG Version:
  • Xcode Version:
  • iOS/macOS Version:

你好 @YJLgithub
对不起,我不会说中文
你能用英文写下你的问题吗

if you can get it to pass you a UIBezierPath, then you can use SVGStringFromCGPaths.

if you can get it to pass you a UIBezierPath, then you can use SVGStringFromCGPaths.

ok, I try it

if you can get it to pass you a UIBezierPath, then you can use SVGStringFromCGPaths.

I tried it, and it worked, but the turning point would break, what was the reason?

use SVGStringFromCGPath

你好 @YJLgithub 对不起,我不会说中文 你能用英文写下你的问题吗

i use SVGStringFromCGPaths. I tried it, and it worked, but the turning point would break, what was the reason?

use SVGStringFromCGPath

你好 @YJLgithub 对不起,我不会说中文 你能用英文写下你的问题吗

i use SVGStringFromCGPaths. I tried it, and it worked, but the turning point would break, what was the reason?

if you can get it to pass you a UIBezierPath, then you can use SVGStringFromCGPaths.

WechatIMG54

Truncated SVG story image

use SVGStringFromCGPath

你好 @YJLgithub 对不起,我不会说中文 你能用英文写下你的问题吗

i use SVGStringFromCGPaths. I tried it, and it worked, but the turning point would break, what was the reason?

if you can get it to pass you a UIBezierPath, then you can use SVGStringFromCGPaths.

WechatIMG54

Truncated SVG story image

That looks like a pretty strange path it’s giving you. It’s a bunch of segments perpendicular to the curve.
It’s not in the scope of PocketSVG to resolve.