svg.cc
A C++17 library for constructing and manipulating SVG files
Installation
You can install this library by cloning the repository with all the submodules:
git clone --recurse-submodules -j8 https://github.com/adolfomunoz/svg.cc.git
If you have already cloned this library without the submodules you will have to add the submodules manually:
git clone https://github.com/adolfomunoz/svg.cc.git
cd svg.cc
git submodule update --init --recursive
If you want to use this as a submodule from your own libary or code, you will have create a folder within your repository (ext in the example below) to hold the submodules.
mkdir ext
cd ext
git submodule add https://github.com/adolfomunoz/svg.cc.git
The following subfolders folders must be introduced into the include path for C++ compilation:
extext/svg.cc/extext/svg.cc/ext/patterns/ext
Applications
- figure-inset : A command line tool for generating figure insets from a simple svg file with rectangles.
- SVGPlot: API for plotting different types of graphs in a ‘matplotlib.pyplot’ way with vector (SVG) output.