stroke-width

2006-08-23 Thread Mike Dewhirst
I'm a Dia newbie using Windows. AIA.

Is there a mechanism for shapes to inherit an adjusted stroke-width?

At this point I'd just like the drawings to print with finer lines. I 
have tried a few things without seeming to change anything. I was hoping 
there might be some preferences or similar I could adjust.

As an alternative, I am looking at group_props.py but it fails to imort 
dia.py. Google reveals a few dia.py results but none are apparently Dia 
related.

Thanks for any hints.

Mike
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: stroke-width

2006-08-23 Thread Lars Clausen
Mike Dewhirst sagde:
> I'm a Dia newbie using Windows. AIA.
>
> Is there a mechanism for shapes to inherit an adjusted stroke-width?
>
> At this point I'd just like the drawings to print with finer lines. I
> have tried a few things without seeming to change anything. I was hoping
> there might be some preferences or similar I could adjust.

No, shapes are basically little drawings with particular stroke widths. 
Since nobody's had the time to implement generic scaling in Dia, there's
no way to really change the widths from inside Dia.  We could conceivably
add something similar to what we can do for colors which have "foreground"
and "background" colors defined as taken from the toolbox, but my time
right now is strictly limited to the new group system and (another attempt
at) better font scaling.

> As an alternative, I am looking at group_props.py but it fails to imort
> dia.py. Google reveals a few dia.py results but none are apparently Dia
> related.

That is Hans' area, I don't claim to understand the Python parts.  Hans?

-Lars


___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



group_props.py import dia [was: stroke-width]

2006-08-23 Thread Mike Dewhirst
Lars Clausen wrote:
> Mike Dewhirst sagde:



> 
>> As an alternative, I am looking at group_props.py but it fails to import
>> dia.py. Google reveals a few dia.py results but none are apparently Dia
>> related.
> 
> That is Hans' area, I don't claim to understand the Python parts.  Hans?

It appears from the all python scripts shown on the website, that there 
must be a module called dia.py. Maybe Hans can indicate where it can be 
found? I have downloaded the latest snapshot (21 Aug) and cannot find 
any trace of it. Perhaps it has been renamed?

Thanks

Mike

> 
> -Lars
> 
> 
> ___
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia
> 
> 
> 

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: Import of data

2006-08-23 Thread Lars Clausen
On Tue, 2006-08-22 at 15:28 +0200, Jostein Martinsen wrote:
> Hi
> I would like to be able to import the structure of a database into Dia.
> My first tought was to run 'describe' for the tables I have in my database, 
> and then parse
> the output into Dia:s (XML?) format. But since maybe the fileformat might 
> change, this
> isn't so good, right?
> 
> Has anyone done or wanted something like this before?
> 
> The main problem is that we have a couple of databases (in MySQL) that we 
> want to have
> nice ER-, or UML-diagrams over. And it's very time-consuming to make them by 
> hand...

Take a look at the Links page on the Dia homepage
http://www.gnome.org/projects/dia/, there's a number of tools that
generate Dia diagrams from all manner of things.  Particularly
interesting is probably SchemeMania http://www.schemamania.org/, which
while it's not itself ready to use, has a bunch more links and ideas for
similar projects.

-Lars

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: libpng13.dll - windows error

2006-08-23 Thread Steffen Macke
Hi,

> cant find libpng13.dll
>
> any ideas?

libpng13.dll is part of GTK+ 2.8, which is what we are advising to run
Dia for Windows 0.95-1 with. If you have problems with this, I can
send you the DLL separately or you can
download it e.g. through the libpng distribution from

http://gnuwin32.sourceforge.net/packages/libpng.htm

Regards,

Steffen
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: group_props.py import dia [was: stroke-width]

2006-08-23 Thread Hans Breuer
Am 23.08.2006 15:48, Mike Dewhirst schrieb:
> Lars Clausen wrote:
>> Mike Dewhirst sagde:
> 
> 
> 
>>> As an alternative, I am looking at group_props.py but it fails to import
>>> dia.py. Google reveals a few dia.py results but none are apparently Dia
>>> related.
>> That is Hans' area, I don't claim to understand the Python parts.  Hans?
> 
> It appears from the all python scripts shown on the website, that there 
> must be a module called dia.py. 
There needs to be a module called 'dia' to somehow make dia functionality
accessible to Python. It has always been this way, but it is not 'dia.py'.
The Dia's Python bindings are written in C, the source code is in 
plug-ins/python. Under windows it is compiled to dia.pyd; under *NIX it
is build if: ./configure --with-python; make; make install

> Maybe Hans can indicate where it can be 
> found? I have downloaded the latest snapshot (21 Aug) and cannot find 
> any trace of it. Perhaps it has been renamed?
> 
Nope. See above.

Hans

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: group_props.py import dia [was: stroke-width]

2006-08-23 Thread Mike Dewhirst
Hans Breuer wrote:
> Am 23.08.2006 15:48, Mike Dewhirst schrieb:
>> Lars Clausen wrote:
>>> Mike Dewhirst sagde:
>> 
>>
 As an alternative, I am looking at group_props.py but it fails to import
 dia.py. Google reveals a few dia.py results but none are apparently Dia
 related.
>>> That is Hans' area, I don't claim to understand the Python parts.  Hans?
>> It appears from the all python scripts shown on the website, that there 
>> must be a module called dia.py. 
> There needs to be a module called 'dia' to somehow make dia functionality
> accessible to Python. It has always been this way, but it is not 'dia.py'.
> The Dia's Python bindings are written in C, the source code is in 
> plug-ins/python. Under windows it is compiled to dia.pyd; under *NIX it
> is build if: ./configure --with-python; make; make install

Hans

Thank you - I found all that in the sources. I was looking for dia.py 
and missed it.

Does anybody build Dia python bindings for Windows?

Unfortunately I have no experience compiling C in Windows. Maybe it is 
time I learned. Could you point me at a how-to suitable for the tools 
you require?

Would I need to compile the entire suite at the same time?

If so, and if I decided to stick with Dia would I need to keep in touch 
with CVS so I could repeat the process in future?

Thanks

Mike



> 
>   Hans
> 
> ___
> Dia-list mailing list
> Dia-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/dia-list
> FAQ at http://www.gnome.org/projects/dia/faq.html
> Main page at http://www.gnome.org/projects/dia
> 
> 
> 

___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia



Re: libpng13.dll - windows error

2006-08-23 Thread vector
Thanks Steffen.
I gave in held my breath and installed the lates GTK all went well Dia 
is working and other things didnt break :)
BTW the windows install was a bit strange. If I accepted the default dir 
it installed fine but If I used browse to install it somewhere else it 
crashed hanging on the dir list box. I eventually typed the pathname on 
the command line box and it again installed fine.

Thanks muchly
Mark

Steffen Macke wrote:

>Hi,
>
>  
>
>>cant find libpng13.dll
>>
>>any ideas?
>>
>>
>
>libpng13.dll is part of GTK+ 2.8, which is what we are advising to run
>Dia for Windows 0.95-1 with. If you have problems with this, I can
>send you the DLL separately or you can
>download it e.g. through the libpng distribution from
>
>http://gnuwin32.sourceforge.net/packages/libpng.htm
>
>Regards,
>
>Steffen
>___
>Dia-list mailing list
>Dia-list@gnome.org
>http://mail.gnome.org/mailman/listinfo/dia-list
>FAQ at http://www.gnome.org/projects/dia/faq.html
>Main page at http://www.gnome.org/projects/dia
>
>
>
>  
>
___
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia