SVG-Optimiser
SVG-Optimiser copied to clipboard
Gunshi patch 1
Relative to absolute function called 'toabs()' takes in Arc (A) commands also. An inverse function has been added, which creates a complement of the path element given as input, and along with function tostr() and complete() creates a string format complement of the path element which can be put in as the value of the 'd' attribute. The images show what the complement looks like, and is a way to do what could probably also be done by masks, but masks don't work with all browsers.