[KDE Dot News]
 faq
 flatforty
 contribute
 subscribe
 configure
 search
 rdf

 main
 parent


Related: What about editable SVG canvas for KDE?
by RobM on Friday 05/Nov/2004, @15:55
I'm trying to write an application that has to work a lot with vector-based drawings. And I'd like to do it in KDE, mainly because I like all the facilities it gives to coders.

I ask: is there some kind of canvas or application that enables me to start with something that's at least half-working?
I've seen QtCanvas is nearly unusable for serious work, SVGCanvas/KCanvas are in an unknown state, trying to become a supertool, but still in a state of flux about what to do (also, there's been very few commits, lately).
Karbon is nice, but documentation on the program and how it works is nonexistant (most class don't even have doxygen comments...) and it's tied to KOffice in which I'm uninterested (mine should be a cartoon program, not a Office application).

Any idea, except the obvious "use GTK and learn from Inkscape"? ;-)

Ciao,
Rob!
  Related Links
 ·   Articles on Guest Series
 ·   Also by RobM
 ·   Contact author

Thread Threshold:

The Fine Print: The following comments are owned by whomever posted them.
( Reply )

Re: Related: What about editable SVG canvas for KD
by kdefriend2 on Friday 05/Nov/2004, @16:05
Have a look at "Karbon 14"....
[ Reply To This | View ]
  • Re: Related: What about editable SVG canvas for KD
    by RobM on Saturday 06/Nov/2004, @07:15
    I already have, but as I said, documentation is really scarce and even the source code doesn't help much: I've tried using kdevelop and doxygen to see if I could make some sense on how to reuse part of the code/classes, but it doesn't help much: few comments, and no doxygen comments on many classes...

    It also doesn't make much sense for me to learn and work _on_ Karbon, since the things I have to do are quite different from those a good vector drawing program have to be able to do.

    Finally, it's (obviously) heavily dependent on KOffice classes, and I don't know how useful those could be to my future program. I suspect they'd be more hindrance than gain.

    Ciao,
    Rob!
    [ Reply To This | View ]
Re: Related: What about editable SVG canvas for KD
by MenTaLguY on Friday 05/Nov/2004, @22:00
I don't know what it is about canvas widgets, but things are no better on the Gtk side of things. There, too, the standard canvas widget is nearly unusuable for serious work, and the "next generation" efforts seem to have bloated and flamed out.

Inkscape will eventually offer a canvas widget of some kind, but it's probably still pretty far in the future. As you're doing it in KDE, I'll second the other posters' suggestion to have a look at what you can take from Karbon14.
[ Reply To This | View ]
Re: Related: What about editable SVG canvas for KDE?
by mrdocs on Saturday 06/Nov/2004, @04:57
Well, you would be most welcome to have a look at Scribus, we are very serious about adding to the drawing capabilities of Scribus, though Inkscape is really the best choice for Linux IMO.

The reason I mention Scribus is already it has probably the best PDF export/PS export in Linux land and replicating that is going to be *very* difficult.

The canvas code in Scribus is based on libart_lgpl a Gnome! library.

Cheers,
[ Reply To This | View ]
  • Re: Related: What about editable SVG canvas for KDE?
    by RobM on Saturday 06/Nov/2004, @07:27
    Thanks to all! :-)

    I'll try to contact KCanvas people, and to have a look at what Scribus can do.

    Ciao,
    Rob!
    [ Reply To This | View ]
  • Re: Related: What about editable SVG canvas for KDE?
    by wilbert on Saturday 06/Nov/2004, @22:30
    I think KOffice libraries also use libart_lgpl :)
    wilbert@obelix:~$ ldd /opt/kde3/bin/kword | grep libart
    libart_lgpl_2.so.2 => /usr/lib/./libart_lgpl_2.so.2 (0x40c2a000)
    [ Reply To This | View ]
  • Re: Related: What about editable SVG canvas for KDE?
    by Leo Savernik on Sunday 07/Nov/2004, @04:05
    > The canvas code in Scribus is based on libart_lgpl a Gnome! library.

    It is *not* a gnome library as it doesn't depend on glib.
    [ Reply To This | View ]

 
The Fine Print: The previous comments are owned by whomever posted them.
( Reply )

  "I'm holding out for a computer interface that plugs directly into my cerebral cortex." -- Sirtaj Singh Kang
KDE®, "K Desktop Environment", "KDE Dot News", "got the dot?" and the KDE Logo® are trademarks or registered trademarks of KDE e.V. in the European Union, the United States and other countries. All other trademarks and copyrights on this page are owned by their respective owners. Comments are owned by the poster. The rest: Copyright © 2000-2008 KDE e.V. for The KDE Project. For further information or comments on this site, please contact the Webmaster.
[ home | post article | flat forty | subscribe | search | rdf ]