Pure Swift implementation of 2D Vector Graphic Parsing and Rendering Library (Early Development)
The intent here is to put together a package of types devoted to cross-platform 2D rendering. These will be based around the SVG document model, but not necessarily confined to using SVG documents.
This is all very early in development. I'm gradually building up parsers, editors and data structures which should be platform agnostic, and the means to do rendering on Apple platforms. Hopefully, much of this code would be useful to someone on Linux.
✔︎ SVG Path Parser ✔︎ Color Parser
✔︎ Path ➤ CGPath ✔︎ Path ➤ UIBezierPath ✔︎ Path ➤ NSBezierPath
✔︎ Colour ➤ CGColor ✔︎ Colour ➤ UIColor ✔︎ Colour ➤ NSColor
✔︎ PathView • iOS • macOS
Xcode 9, Swift 4, Right now only the iOS framework is setup.