Re: Problem with Ruler

2014-08-10 Thread Hans Breuer

Am 08.08.2014 um 11:20 schrieb Anton Zoettl:

I have set the pagesize to A4 (21 cm x 29,7 cm)
However the ruler does show me a quite different size.

So you have changed the scaling of the diagram. The ruler shows the 
virtual centimeters of the diagram objects.



The size of the printout is different from the indication of the page on the 
canvas

With the page breaks in your screenshot I'd expect two pages of printout. 
If you don't get that it may be either a bug or some additional 
transformation performed within the printer driver.



Unfortunately there is no explanation in the Help about Scale  Fit To

Yes, unfortunately (BTW: patches accepeted). The scaling (to pages) is done 
by a single scaling factor. You can either enter this factor directly or 
get it calculated with Fit to n by m [pages]. Using the latter also 
shifts the top left corner of the diagram to start in the top left corner 
of the first page.



Please give me some help


HTH,
Hans

 Hans at Breuer dot Org ---
Tell me what you need, and I'll tell you how to
get along without it.-- Dilbert
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia



Re: Do C Language plugins need to be compiled with Dia?

2014-08-10 Thread Hans Breuer

Am 30.07.2014 um 11:47 schrieb dunn:

I know I'm causing a flurry of messages all at once, but I was wondering if
a user makes a C Language plugin instead of Python, does it have to be
compiled with the program, or does Dia find a library (and perhaps an XML
file) in a folder and use it?

The algorithm for finding plug-ins at runtime is similar for Python and C 
plug-ins. See:

https://git.gnome.org/browse/dia/tree/lib/plug-ins.c?id=eefc0d0b2ff10368def6f6cb463ab3a4381bbbc5#n442

Plug-in related XML files (like sheets and shapes) are found likewise. If 
you want something special you have to code it yourself, best based on 
existing API, see: https://git.gnome.org/browse/dia/tree/lib/dia_dirs.h


 Hans at Breuer dot Org ---
Tell me what you need, and I'll tell you how to
get along without it.-- Dilbert
___
dia-list mailing list
dia-list@gnome.org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia