svn commit: r15910 - trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: tfmorris
Date: 2008-10-09 10:34:20-0700
New Revision: 15910

Modified:
   trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java

Log:
RESOLVED - task 5446: Horizontal bands missing in PNG export 
http://argouml.tigris.org/issues/show_bug.cgi?id=5446

Modified: trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java?view=diff&rev=15910&p1=trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java&p2=trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java&r1=15909&r2=15910
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/gefext/DeferredBufferedImage.java	2008-10-09 10:34:20-0700
@@ -152,7 +152,7 @@
             throw new IndexOutOfBoundsException(
                     "clip rectangle must fit in band buffer");
         }
-        return (clip.y >= y1 && (clip.y + clip.height) < y2);
+        return (clip.y >= y1 && (clip.y + clip.height - 1) < y2);
     }
 
     /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.