[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: API
- From: Michael Hennebry <hennebry web cs ndsu nodak edu>
- To: discussions about usage and development of dia <dia-list gnome org>
- Subject: Re: API
- Date: Tue, 23 Sep 2008 17:48:28 -0500 (CDT)
On Tue, 23 Sep 2008, Hans Breuer wrote:
> At 23.09.2008 22:09, Michael Hennebry wrote:
> > On Tue, 23 Sep 2008, Hans Breuer wrote:
> >
> >> At 23.09.2008 18:41, Michael Hennebry wrote:
> >>> I gather that dia has an API,
> >> Yes. See the sources: http://svn.gnome.org/viewvc/dia/trunk/
> >>> that is a mechanism
> >>> for producing diagrams from a user-written program,
> >> Sorry, I don't follow your conclusion. Dia *is* a program to produce
> >> diagrams. It can be extended with plug-ins written in C or Python.
> >
> > I thought that the engine could be used
> > by something other than the GUI.
> Their is no such separation in Dia, i.e. there is no "diagram engine"
> separate from the GUI.
Oh well.
> > E.g., if I wanted a dia-gram of the ruler function
> the only ruler I'm aware of in Dia are the GUI elements provided by Gtk+
The ruler function is a mathematical function,
interesting, but no fun to draw.
> > or to space boxes with a formula,
> only very simple functionality provide by app/
>
> > I could write a program that would use the engine.
> I think you should start looking at the sources. I'm afaid you are
> imagining a lot of things into Dia which simply is not there.
I had seen references to the "dia API",
but without enough context to be sure what it meant.
> Yes. But this is quite out of scope for what Dia is meant to be.
> You may want to look at projects like http://www.graphviz.org/
Thank you for the suggestion.
--
Michael hennebry web cs ndsu NoDak edu
"Pessimist: The glass is half empty.
Optimist: The glass is half full.
Engineer: The glass is twice as big as it needs to be."
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]