Re: [Inkscape-devel] GSoC: KML <-> SVG Translation
Oh dear, I really am no good at mailing lists. I accidentally emailed this to Krzysztof instead of the mailing list. Sorry!
On 06 April 2010 at 17:49 "Krzysztof Kosiński" <tweenk.pl@...400...> wrote:
2010/4/5 sjatkins@...2336... <sjatkins@...2336...>:
Then, develop a command-line app that will actually do the conversion. I'll be using C++. I haven't decided on an XML library yet - any suggestions?
You should use libxml2 and libxslt - that's what Inkscape uses. However, it might be better to write an internal extension rather than a separate command line application. Look at src/extension/internal/. You can also consider using XSLT.
Thanks, that's really helpful - I wasn't sure where in the codebase to look. Making it an internal extension does sound much better than an external application. I'm not very familiar with XSLT, and it's probably better to stick with C++ as I know it better.
Once the command-line program is working, I'll start on giving it a GUI. I can't seem to find anything about what UI library Inkscape itself uses - can anybody tell me?
It uses GTK+ and gtkmm. Again, look at existing input extensions - the extension system should satisfy your GUI needs. You just put the parameters you need in an .inx file and the GUI is created automatically.
Regards, Krzysztof
I think I might not need to add a GUI if I do this as a extension, but if I do I'll use the extension system like you suggest. ~Sam
participants (1)
-
sjatkins@...2336...