MenTaLguY wrote:
- how to strip the GUI part from the core of inkscape ?
Mental and Nathan have tried stripping the GUI part off of it once before; they'd be the best to answer this. As I understand it, there is not a sufficiently clean separation between the interface and the renderer to make this trivial, but it did not sound impossible.
It really depends on how much of Inkscape he wants. I think the entire SPObject/SPDocument layer, SPRepr layer, libnr/libnrtype, inkscape-livarot, and NRArena layer can be extracted together _relatively_ cleanly.
(though I've not tried it)
Trying to extract smaller pieces would likely prove very difficult.
Also be aware that our internal APIs are currently under heavy flux, and will probably continue to be until version ~0.9 or so.
On the other hand, if someone made the effort to cleanly separate the two, I think we could make the effort to maintain the separation.
njh