Skip to content

A Swift library for parsing and drawing SVG images to CoreGraphics contexts.

License

Notifications You must be signed in to change notification settings

vaghasiya/SwiftDraw

 
 

Repository files navigation

Travis CodeCov Swift 5.0 License Twitter

SwiftDraw

A Swift library for parsing and drawing SVG images to CoreGraphics contexts.

Usage

iOS

import SwiftDraw
let image = UIImage(svgNamed: "sample.svg")

macOS

import SwiftDraw
let image = NSImage(svgNamed: "sample.svg")

Command line tool

Download the latest command line tool here.

$ swiftdraw sample.svg --format pdf --size 48x48

About

A Swift library for parsing and drawing SVG images to CoreGraphics contexts.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 99.3%
  • Objective-C 0.7%