background of DIA diagram

2014-11-16 Thread Vedran Vucic
Hello,

I found how can I change color of DIA diagram background. But,  how to
make it transparent?


Best wishes,

VV
___
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: background of DIA diagram

2014-11-16 Thread Michael Ross
By definition a transparent background makes no sense - you would never
know it is transparent because it is behind everything else - so I probably
don't under stand what you are after.

There is nothing in the current version of Dia that has transparency - I
think it is coming and me be part of the unreleased stuff.

On occasions when I wanted something to be transparent in front of another
- I have used Inkscape to create it and sometimes GIMP, than made an image
of it and placed into DIA as a image.  You can expand and contract that
image and layer it to be behind whatever else you are diagramming.

On Sun, Nov 16, 2014 at 5:26 AM, Vedran Vucic vedran.vu...@gmail.com
wrote:

 Hello,

 I found how can I change color of DIA diagram background. But,  how to
 make it transparent?


 Best wishes,

 VV
 ___
 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




-- 
Put this question to yourself: should I use everyone else to attain
happiness, or should I help others gain happiness?
*Dalai Lama *

Tell me what it is you plan to do
With your one wild and precious life?
Mary Oliver, The summer day.

To invent, you need a good imagination and a pile of junk.
Thomas A. Edison
http://www.brainyquote.com/quotes/quotes/t/thomasaed125362.html

A public-opinion poll is no substitute for thought.
*Warren Buffet*

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824 https://www.google.com/voice/b/0?pli=1#phones Google Phone
(919) 631-1451 Cell
(919) 513-0418 Desk

michael.e.r...@gmail.com
michael.e.r...@gmail.com
___
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: background of DIA diagram

2014-11-16 Thread Thomas HARDING

On 16/11/2014 16:02, Michael Ross wrote:
By definition a transparent background makes no sense - you would 
never know it is transparent because it is behind everything else - so 
I probably don't under stand what you are after.


There is nothing in the current version of Dia that has transparency - 
I think it is coming and me be part of the unreleased stuff.


svg color models has an alpha channel. This is not tranparency: this is 
opacity, default to 1. I know Dia for an xml
superset/subset of svg. Obviously, it should be simpler to act on custom 
shapes than programmatic ones, in such case use an embedding group 
will help after export.


A workaround after exort to svg:

So, simply embed your background elements with a g by hand, then set 
opacity and fill-opacity properties on that group (from 0. to 1).


Same for foregrounds elements.

On occasions when I wanted something to be transparent in front of 
another - I have used Inkscape to create it and sometimes GIMP, than 
made an image of it and placed into DIA as a image.  You can expand 
and contract that image and layer it to be behind whatever else you 
are diagramming.


On Sun, Nov 16, 2014 at 5:26 AM, Vedran Vucic vedran.vu...@gmail.com 
mailto:vedran.vu...@gmail.com wrote:


Hello,

I found how can I change color of DIA diagram background. But,  how to
make it transparent?


Best wishes,

VV
___
dia-list mailing list
dia-list@gnome.org mailto: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




--
Put this question to yourself: should I use everyone else to attain 
happiness, or should I help others gain happiness?

*Dalai Lama*

Tell me what it is you plan to do
With your one wild and precious life?
Mary Oliver, The summer day.

To invent, you need a good imagination and a pile of junk.
Thomas A. Edison 
http://www.brainyquote.com/quotes/quotes/t/thomasaed125362.html


A public-opinion poll is no substitute for thought.
*Warren Buffet*

Michael E. Ross
(919) 550-2430 Land
(919) 576-0824 https://www.google.com/voice/b/0?pli=1#phones Google 
Phone

(919) 631-1451 Cell
(919) 513-0418 Desk

michael.e.r...@gmail.com mailto:michael.e.r...@gmail.com





___
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



___
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: background of DIA diagram

2014-11-16 Thread Hans Breuer

Am 16.11.2014 um 11:26 schrieb Vedran Vucic:

Hello,

I found how can I change color of DIA diagram background. But,  how to
make it transparent?

As Michael and Thomas already said transparency kind of depends on the 
context. If you want to look through your diagram window to your desktop 
that's even not possible with the current development version, which 
otherwise has much improved transparency support.


But if you want to export your diagram with a transparent background that's 
already possible with Dia 0.97.x, if you choose the right format. There is 
for example Cairo PNG (with alpha). Also the vector format filters (SVG, 
WMF, WPG, etc. pp.) usually don't draw the background.


If you want something else, please be more specific.
See also https://bugzilla.gnome.org/show_bug.cgi?id=591525#c16 about the 
reason to exclude transparency from the diagram background color.


Regards,
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: Dia 0.97 Bug : Dash lenth in prinout.

2014-11-16 Thread Hans Breuer

Am 07.11.2014 um 10:04 schrieb Andreas Möller:


Hello

I don't have an account for BugZillar.
I found a bug similar to bug 172192
https://bugzilla.gnome.org/show_bug.cgi?id=172192


The fix to that bug was released in 2006 with Dia 0.95.


My Software:
Operating System Windows 7 64bit
DIAw.exe 0.97   32bit

My Bug:
Reproduction:
Draw three dashed Lines with different line length
First line: 1.,20 ; second line 0.60 ; third line 0.3

Safe and print the diagram

Expected:
Printout looks like screenshot.

Wrong behavior:
When printing dashed lines with different line length (dash length?)
The Printout interprets the dash length in another way than it is interpreted 
on screen.
Works for me with Dia master and 0.97.3, tested on win7/32. I've tested it 
with a real printer and PDFCreator printer driver



In the printout it seems that
the first line has a line length of 0.80 instead of 1.20 on screen
the second linehas a line length of 1.00 instead of 0.60 on screen
the third linehas a line length of 1.20 instead of 0.30 on screen

the shorter it is on screen the longer it is on printout!
Not according to my tests, so you should check if the concerned components 
are working properly.


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: copy diagram

2014-11-16 Thread Hans Breuer

Am 03.11.2014 um 23:41 schrieb Sheehan, John T:

Hi folks, I am using copy diagram feature and only getting about 75%
of my diagram in the resulting clipped image. Is there a way to set
extents to encapsulate the entire diagram when copying diagram to clip
board?
The workaround I was using was adding an extra line to grow the diagram 
boundaries anticipating the clipping. Finally I've added a kludge to the 
export filter:


https://git.gnome.org/browse/dia/commit/?id=7bd505876c12ee6d83c5e7ffb73b4a9b085390ff

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: background of DIA diagram

2014-11-16 Thread Vedran Vucic
Hello,

Exporting to Cairo png with alpha produced shapes with transparent
bakcground while export to svg produced image with white background
and shapes on it.
However, I am satisfied with Cairo png with alpha format.
I need it in teh following scenarion.:
1. I create diagram that should be put in the doucment with specific
bakground. Thus, diagram should be transparent so the shapes (black
lines) do have good contrast on existing document.  That is all I
need.

However, Cairo png with alpha is good solution for now.

Thanks,

VV

On Sun, Nov 16, 2014 at 5:41 PM, Hans Breuer h...@breuer.org wrote:
 Am 16.11.2014 um 11:26 schrieb Vedran Vucic:

 Hello,

 I found how can I change color of DIA diagram background. But,  how to
 make it transparent?

 As Michael and Thomas already said transparency kind of depends on the
 context. If you want to look through your diagram window to your desktop
 that's even not possible with the current development version, which
 otherwise has much improved transparency support.

 But if you want to export your diagram with a transparent background that's
 already possible with Dia 0.97.x, if you choose the right format. There is
 for example Cairo PNG (with alpha). Also the vector format filters (SVG,
 WMF, WPG, etc. pp.) usually don't draw the background.

 If you want something else, please be more specific.
 See also https://bugzilla.gnome.org/show_bug.cgi?id=591525#c16 about the
 reason to exclude transparency from the diagram background color.

 Regards,
 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

___
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