Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-18 Thread Hezekiah M. Carty
On Thu, Mar 18, 2010 at 5:34 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-03-18 16:26-0400 Hezekiah M. Carty wrote: [...] From what I have read so far, having nicely window-manager independent transparent backgrounds for the xcairo (and xwin and possiblt qtwidget) devices would

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-18 Thread Alan W. Irwin
On 2010-03-18 17:55-0400 Hezekiah M. Carty wrote: On Thu, Mar 18, 2010 at 5:34 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-03-18 16:26-0400 Hezekiah M. Carty wrote: [...] From what I have read so far, having nicely window-manager independent transparent backgrounds for the

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-18 Thread Hazen Babcock
Alan W. Irwin wrote: For my two X servers display -immutable test.png.2 gives me (a), i.e., a semi-transparent view where I can see the desktop underneath the image. This is slightly off topic, but this effect really doesn't seem to work that well on Gnome, at least for me. This plot

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-18 Thread David MacMahon
Hi, Hez, On Mar 18, 2010, at 21:16 , Hezekiah M. Carty wrote: The checkerboard background seems to be a semi-standard approach for viewing transparent images (Gimp uses something similar). I'm not sure it is a good idea for our interactive devices though, as it makes it very difficult to

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-18 Thread Hezekiah M. Carty
On Thu, Mar 18, 2010 at 7:31 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-03-18 17:55-0400 Hezekiah M. Carty wrote: On Thu, Mar 18, 2010 at 5:34 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-03-18 16:26-0400 Hezekiah M. Carty wrote: [...] From what I have read

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-15 Thread Alan W. Irwin
On 2010-03-14 11:32-0700 Alan W. Irwin wrote: On 2010-03-14 10:50-0500 Hezekiah M. Carty wrote: Revision 10866 should fix this. If the background color has an alpha value 1.0 then a white surface is drawn before the transparent background color. This produces good looking results for all

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-15 Thread David MacMahon
On Mar 15, 2010, at 14:32 , Alan W. Irwin wrote: Then display -immutable test_transparent.png really does show the desktop underneath the plot which indeed is a really cool-looking effect. Using a very recent ImageMagick (6.6.0), display gives me the checkerboard background without the

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-15 Thread Hazen Babcock
David MacMahon wrote: (Without that -immutable option, display replaces a transparent background with a checkerboard background which apparently is something of an industry standard to signal you really do have a transparent background.) I agree that this *can be* a really

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-15 Thread Alan W. Irwin
On 2010-03-15 15:49-0700 David MacMahon wrote: On Mar 15, 2010, at 14:32 , Alan W. Irwin wrote: Then display -immutable test_transparent.png really does show the desktop underneath the plot which indeed is a really cool-looking effect. Using a very recent ImageMagick (6.6.0), display

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-15 Thread Alan W. Irwin
On 2010-03-15 20:38-0400 Hazen Babcock wrote: The problem is that we currently do not allow any choices. The cairo driver is explicitly starting with a non-transparent white background. It is not as clear to me exactly what the Qt driver is doing when it starts a new page, though I don't

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-15 Thread David MacMahon
Hi, Alan, On Mar 15, 2010, at 17:49 , Alan W. Irwin wrote: On 2010-03-15 15:49-0700 David MacMahon wrote: Using a very recent ImageMagick (6.6.0), display gives me the checkerboard background without the -immutable option and a black background with that option when looking at an image

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-15 Thread Alan W. Irwin
On 2010-03-15 21:44-0700 David MacMahon wrote: I'm no expert on the PLplot devices, but my understanding is that the xcairo device is a cairo widget or surface drawn in a regular X window that has its own background. If that's the case, then perhaps we would need to create the window with

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-14 Thread Hezekiah M. Carty
On Sat, Mar 13, 2010 at 5:12 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-03-13 13:16-0800 Alan W. Irwin wrote: On 2010-03-13 14:45-0500 Hazen Babcock wrote: Alan W. Irwin wrote: Hazen, will you have a look at this issue, please?  This transparent background issue does not

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-14 Thread Hezekiah M. Carty
On Sun, Mar 14, 2010 at 9:54 AM, Hezekiah M. Carty hezekiahca...@users.sourceforge.net wrote: On Sat, Mar 13, 2010 at 5:12 PM, Alan W. Irwin ir...@beluga.phys.uvic.ca wrote: On 2010-03-13 13:16-0800 Alan W. Irwin wrote: On 2010-03-13 14:45-0500 Hazen Babcock wrote: Alan W. Irwin wrote:

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-14 Thread Alan W. Irwin
On 2010-03-14 10:50-0500 Hezekiah M. Carty wrote: Hmm. after updating to get your fix and make cairo I still get the same (bad) result (with page 1 still visible underneath) for examples/c/x02c -dev xcairo  -bg FF_0.1 examples/c/x02c -dev qtwidget -bg FF_01 was fine. I get

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-14 Thread Hazen Babcock
Alan W. Irwin wrote: On 2010-03-13 13:16-0800 Alan W. Irwin wrote: On 2010-03-13 14:45-0500 Hazen Babcock wrote: Alan W. Irwin wrote: Hazen, will you have a look at this issue, please? This transparent background issue does not appear for, e.g., -dev pscairo so it appears this issue may

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-13 Thread Hazen Babcock
Alan W. Irwin wrote: On 2010-03-10 00:43-0800 David MacMahon wrote: I just ran this... x02c -dev xcairo -bg ff_0.3 ...and noticed on the second plot I can see through to the first plot. I don't think I have any other non-cairo, alpha-capable drivers built so I can't tell if it's

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-13 Thread Alan W. Irwin
On 2010-03-13 14:45-0500 Hazen Babcock wrote: Alan W. Irwin wrote: Hazen, will you have a look at this issue, please? This transparent background issue does not appear for, e.g., -dev pscairo so it appears this issue may be specific within the cairo devices to just -dev xcairo although I

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-13 Thread Alan W. Irwin
On 2010-03-13 13:16-0800 Alan W. Irwin wrote: On 2010-03-13 14:45-0500 Hazen Babcock wrote: Alan W. Irwin wrote: Hazen, will you have a look at this issue, please? This transparent background issue does not appear for, e.g., -dev pscairo so it appears this issue may be specific within the

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-10 Thread David MacMahon
Thanks for confirming this, Alan! On Mar 10, 2010, at 8:09 , Alan W. Irwin wrote: -dev qtwidget does not have this problem, and neither does -dev svg. (For the latter, you must use the familying option -fam which will generate two files corresponding to the two pages.) I don't know how

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-10 Thread Alan W. Irwin
On 2010-03-10 10:15-0800 David MacMahon wrote: I'm not really sure how to interpret alpha for the background of a GUI window. What's behind the background to see through too? For graphics files (e.g. .png or .svg) they might be overlaid on something else so background transparency there

Re: [Plplot-devel] -bg with alpha gives strange overlay effect on x02c

2010-03-10 Thread David MacMahon
On Mar 10, 2010, at 11:05 , Alan W. Irwin wrote: There are already some neat transparent background effects being deployed on the desktop (e.g., if you move a KDE GUI it becomes transparent so you can see underneath it) that show this is possible. I think this might be a property of the