iphone - How can I write a complex CGPath or vector image to disk? -


Can I write bytes of CGPTH on the disk and then read them later? Is there an easy way to store SVG style paths on disk?

I have a very complex SVG file (~ 500K) which I would like to convert to a binary format for easy storage and load on the iPhone. Given the SVG file, only lines and beijer decreases, which map all core graphics path perfectly for primitives.

Thank you very much,

Carl CM

< Callback calls for each control point of code> CGPathApply a CGPathRef .

You can use it to write control point on disk.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -