best GUI library for vector drawing program

What would be the best cross-platform GUI library to use for a vector
based CAD program ( something like Visio on Windows ) WxWidgets,
Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
draw and edit in a window that looks like a page of paper so WYSIWYG
is very important, and I need to save the drawings in vector based
file formats like PS, EPS, SVG, as well as image formats like jpg,
png, and gif. Also, the images need to be high resolution so that
they can be pasted into various other programs in Windows OS, and
Linux OS, and the Mac OS.

Advertisements

chewie54 wrote:
> What would be the best cross-platform GUI library to use for a vector
> based CAD program ( something like Visio on Windows ) WxWidgets,
> Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> draw and edit in a window that looks like a page of paper so WYSIWYG
> is very important, and I need to save the drawings in vector based
> file formats like PS, EPS, SVG, as well as image formats like jpg,
> png, and gif. Also, the images need to be high resolution so that
> they can be pasted into various other programs in Windows OS, and
> Linux OS, and the Mac OS.

You might actually consider asking in the 'comp.graphics' hierarchy
instead of the language newsgroups.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask

Advertisements

On Aug 17, 9:45 am, "Victor Bazarov" <> wrote:
> chewie54 wrote:
> > What would be the best cross-platform GUI library to use for a vector
> > based CAD program ( something like Visio on Windows ) WxWidgets,
> > Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> > draw and edit in a window that looks like a page of paper so WYSIWYG
> > is very important, and I need to save the drawings in vector based
> > file formats like PS, EPS, SVG, as well as image formats like jpg,
> > png, and gif. Also, the images need to be high resolution so that
> > they can be pasted into various other programs in Windows OS, and
> > Linux OS, and the Mac OS.
>
> You might actually consider asking in the 'comp.graphics' hierarchy
> instead of the language newsgroups.
>
> V
> --
> Please remove capital 'A's when replying by e-mail
> I do not respond to top-posted replies, please don't ask

Guest

On Aug 17, 8:27 am, chewie54 <> wrote:
> Hello,
>
> What would be the best cross-platform GUI library to use for a vector
> based CAD program ( something like Visio on Windows ) WxWidgets,
> Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> draw and edit in a window that looks like a page of paper so WYSIWYG
> is very important, and I need to save the drawings in vector based
> file formats like PS, EPS, SVG, as well as image formats like jpg,
> png, and gif. Also, the images need to be high resolution so that
> they can be pasted into various other programs in Windows OS, and
> Linux OS, and the Mac OS.
>
> Thanks in advance,
> Dan

I think wxPython in conjunction with PIL and/or matplotlib could work.
I'm pretty sure the people on the wxPython user's list have done
vector graphics using those other libraries.

chewie54 wrote:
> On Aug 17, 9:45 am, "Victor Bazarov" <> wrote:
>> chewie54 wrote:
>>> What would be the best cross-platform GUI library to use for a vector
>>> based CAD program ( something like Visio on Windows )
<snip>
>> You might actually consider asking in the 'comp.graphics' hierarchy
>> instead of the language newsgroups.
> That group doesn't seem to be active anymore.

Guest

On Aug 17, 9:27 am, chewie54 <> wrote:
> Hello,
>
> What would be the best cross-platform GUI library to use for a vector
> based CAD program ( something like Visio on Windows ) WxWidgets,
> Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> draw and edit in a window that looks like a page of paper so WYSIWYG
> is very important, and I need to save the drawings in vector based
> file formats like PS, EPS, SVG, as well as image formats like jpg,
> png, and gif. Also, the images need to be high resolution so that
> they can be pasted into various other programs in Windows OS, and
> Linux OS, and the Mac OS.
>
> Thanks in advance,
> Dan

Also, I forgot to mention that it must have scripting capabilities so
and I would like to embed a Tcl or Python interpreter.

chewie54 wrote:
> What would be the best cross-platform GUI library to use for a vector
> based CAD program ( something like Visio on Windows ) WxWidgets,
> Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> draw and edit in a window that looks like a page of paper so WYSIWYG
> is very important, and I need to save the drawings in vector based
> file formats like PS, EPS, SVG, as well as image formats like jpg,
> png, and gif. Also, the images need to be high resolution so that
> they can be pasted into various other programs in Windows OS, and
> Linux OS, and the Mac OS.

PyQt/Qt4 is capable of that (SVG export was added in Qt4.3).

I have a graph drawing application based around it (Veusz).

If you base everything around QPainter, you'll be able to write to any of
those output formats (including eps and pdf), and bitmaps. Antialiasing is
optional for bitmap formats.

On Aug 17, 12:07 pm, chewie54 <> wrote:
> On Aug 17, 9:27 am, chewie54 <> wrote:
>
> > Hello,
>
> > What would be the best cross-platform GUI library to use for a vector
> > based CAD program ( something like Visio on Windows ) WxWidgets,
> > Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> > draw and edit in a window that looks like a page of paper so WYSIWYG
> > is very important, and I need to save the drawings in vector based
> > file formats like PS, EPS, SVG, as well as image formats like jpg,
> > png, and gif. Also, the images need to be high resolution so that
> > they can be pasted into various other programs in Windows OS, and
> > Linux OS, and the Mac OS.
>
> > Thanks in advance,
> > Dan
>
> Also, I forgot to mention that it must have scripting capabilities so
> and I would like to embed a Tcl or Python interpreter.

I should have also mentioned that is for a commercial application.
That
doesn't rule Qt or PyQt out, but this is a startup company with very
little income so my first choice would be to use some GUI library
that
is free to use for commercial apps.

chewie54 wrote on 17.08.2007 15:27:
> Hello,
>
> What would be the best cross-platform GUI library to use for a vector
> based CAD program ( something like Visio on Windows ) WxWidgets,
> Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> draw and edit in a window that looks like a page of paper so WYSIWYG
> is very important, and I need to save the drawings in vector based
> file formats like PS, EPS, SVG, as well as image formats like jpg,
> png, and gif. Also, the images need to be high resolution so that
> they can be pasted into various other programs in Windows OS, and
> Linux OS, and the Mac OS.

The NetBeans Platform offers a nice module for this. NetBeans itself uses it for
UML, BPEL and ERD modelling and other features (such as the visual XSD editor)

Guest

Hi All,

Today I have downloaded a SWT Software which is great to its features.
You can learn
many GUI details out of it. The basic functionality is it lists IP
Addresses of the
remote PC's your system is accessing.

Guest

Hi All,

Today I have downloaded a SWT Software which is great to its features.
You can learn
many GUI details out of it. The basic functionality is it lists IP
Addresses of the
remote PC's your system is accessing.

Guest

On Aug 17, 3:27 pm, chewie54 <> wrote:
> What would be the best cross-platform GUI library to use for a vector
> based CAD program ( something like Visio on Windows ) WxWidgets,
> Tk, PyQt, Java Swing, Java SWT,???? I need the capibility to
> draw and edit in a window that looks like a page of paper so WYSIWYG
> is very important, and I need to save the drawings in vector based
> file formats like PS, EPS, SVG, as well as image formats like jpg,
> png, and gif. Also, the images need to be high resolution so that
> they can be pasted into various other programs in Windows OS, and
> Linux OS, and the Mac OS.

You could use pythoncad (www.pythoncad.org) as a base and develop it
further, or even contract its main developer to expand its features to
fulfill your needs and improve it. It's based on the GTK+ toolkit,
written in python and has scripting capabilities. IMHO, it's the most
promising free CAD effort around though even if it's not as mature as
QCad.
You could use it in commercial applications as long as you comply with
the GPL, or the author agrees to dual license it for you, but it would
be very welcome if the improvements are avaliable for all users.

>What would be the best cross-platform GUI library to use for a vector
>based CAD program ( something like Visio on Windows )
I don't know about he best, but I have collected a list of them athttp://mindprod.com/jgloss/graph.html
--
Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com

Roedy Green wrote:
>> What would be the best cross-platform GUI library to use for a vector
>> based CAD program ( something like Visio on Windows )
> I don't know about he best, but I have collected a list of them at
> http://mindprod.com/jgloss/graph.html

Roedy,

you might want to add NetBeans' Graph library to the list. It is very
similar to Eclipse's GEF

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!