IPhone - creating quartz tracks on a vector application?

I dream of using Illustrator to create my vector objects and export them as quartz paths. Is it possible?

It should be like Quartz paths, because I would like to be able to fill the paths with colors, gradients, etc.

How can I do it? Is there a way to export (?) From illustrator or such applications and import paths to Xcode for use on iPhone / iPad?

Is there a library that can convert them or an application?

early

+7
iphone svg quartz-graphics adobe-illustrator
source share
6 answers

I looked around on google and found this. This looks pretty promising and contains a section on loading EPS, a format exported from illustrator. Look at chapter 16. If this does not work, you can always look at creating your own simple format and editor to do simple ways and things.

0
source share

Some time ago, I performed some experimental SVG download:

1) parse SVG paths in CGPathRefs: https://github.com/mro/MROGeometry/blob/master/PathParser.h - mostly written in simple C.

+2
source share

The most mature library for this SVGKit . It loads an SVG file in the same way that UIKit can load PNG and draws it in CAShapeLayers. However, this means that it parses the XML tree every time you want your image to be drawn.

+1
source share

Hey, I know it has been a while, but I found one that will open SVG !! It's a bit thin and only supports some parts (specifications are on the same page), but be sure to check it out! https://github.com/cmkilger/CKSVG Hope you do it soon ...

0
source share

This question still seems active, and where I ended up looking for an SVG solution for iOS. I had to spend some time to find Qwarkee .

I haven't bought it yet, but soon. It says that he does exactly what you are asking for here. SVG to Quartz 2D .. for $ 39.99. Overvalued? In my opinion, no.

0
source share

I published an SVGgh library for rendering SVG files for viewing, buttons, and PDF output. It includes code to convert the SVG path to CGPathRef.

0
source share

All Articles