Author: kono
Date: 2009-11-25 11:03:42 -0800 (Wed, 25 Nov 2009)
New Revision: 18579

Modified:
   corelibs/trunk/ding/src/ding/view/DGraphView.java
Log:
Background for nested network images is transparent.

Modified: corelibs/trunk/ding/src/ding/view/DGraphView.java
===================================================================
--- corelibs/trunk/ding/src/ding/view/DGraphView.java   2009-11-25 16:56:57 UTC 
(rev 18578)
+++ corelibs/trunk/ding/src/ding/view/DGraphView.java   2009-11-25 19:03:42 UTC 
(rev 18579)
@@ -2320,7 +2320,7 @@
                }
 
                // create image to return
-               Image image = new BufferedImage(width, height, 
BufferedImage.TYPE_INT_ARGB);            
+               Image image = new BufferedImage(width, height, 
BufferedImage.TYPE_INT_ARGB_PRE);                
                Graphics g = image.getGraphics();
 
                // paint background canvas into image

--

You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.


Reply via email to