Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
SVG path to source code conversion library, tools and sample
C#
Branch: master

README.md

SvgPath2Code

This is a C# library to ease converting SVG paths into source code.

There's only a single backend (initially) that produce C# code targeting CoreGraphics, i.e. for MonoTouch and MonoMac, but it's fully extensible and provide helpers (e.g. to create SVG arcs from bezier curves).

A few tools are provided:

  • convert-font-awesome : will convert FontAwesome SVG paths into a (large) C# file;

  • svgpath2code : a command line tool that accept the SVG path data and output source code;

  • SvgPatherCoder : a GUI tool for OSX (that you can build with MonoMac or Xamarin.Mac);

A sample application (useful for screenshots ;-) is also included in the AwesomeDemo directory.

License

The library and tools are licensed under the the GNU LGPL 2 license only (no "later versions")

The samples is licensed under the Apache License, Version 2.0

Note that the source code that is produced by the tools falls under the license of the original SVG path.

Screenshots

MonoTouch Sample

Something went wrong with that request. Please try again.