Need some work done? Post a Project Today
I would like to implement a library that allows set(boolean operations) within the editor. The library has the functionality and it works perfect with Raphael SVG, you just need to call the shapes and the command you want(union or substraction) and voila the command is performed. The problem is that svg-edit does not work at its core with Raphael library so here we are. I want the library that makes the operations to work with svg-edit flawlessly.
This is the library's website: https://github.com/poilu/raphael-boolean
The editor must have 2 extra buttons: UNION and SUBSTRACTION.
When the user selects 2 shapes with his mouse and clicks UNION the shapes must unite together.
When the user selects 2 shapes and clicks SUBSTRACTION the shapes substract.
The library i found does this perfectly with Raphael SVG and very simply but the problem is that svg-edit does not use at its core the Raphael SVG but instead uses the normal SVG. I think that is the reason its not working.
The solution must work flawlessly with the editor and it must be supported in all major browsers.
Additional minor specifications will be made upon contact with me but the big deal is the thing i described above! That is all.
PS: I included a photo attachment that shows what a boolean union is in particular. It is the welding of 2 paths into 1 path.
This is a jfiddle of a working example of the library outside the SVG-edit environment: http://jsfiddle.net/7CLzD/2/
Please no outrageous prices otherwise i might not be able to even negotiate! My apologies!
AND LASTLY GOOD LUCK TO EVERYONE WHO WINS THIS!!