Is there a function or a way to clip a path that is outside the viewbox instead of just hiding it?
I am using svg-edit which has a viewbox, a canvas area. Everything drawn outside that canvas is hidden. However when the output of the editor is collected and pasted into a graphics editor such as Inkscape, the whole drawing appears. I want the drawing that are outside the viewbox clipped entirely from the editor's output. So for example if i have a circle that is half outside the canvas, then the output of the editor would be half a circle and not the whole circle just half of it hidden.
I want to alter the geometry of the subject path itself not just hide it from view.
I am doing a modification of svg-edit: http://code.google.com/p/svg-edit/