SVG-Optimiser icon indicating copy to clipboard operation
SVG-Optimiser copied to clipboard

Gunshi patch 1

Open gunshi opened this issue 9 years ago • 0 comments

path inverse

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.

gunshi avatar Feb 15 '15 19:02 gunshi