Parent Directory | Revision Log | Patch
revision 1.17 by smarothy, Thu Jun 23 20:35:49 2005 UTC | revision 1.18 by smarothy, Thu Jun 23 21:22:59 2005 UTC | |
---|---|---|
# | Line 399 public class GtkImage extends Image | Line 399 public class GtkImage extends Image |
399 | srcHeight = height - srcY; | srcHeight = height - srcY; |
400 | } | } |
401 | ||
402 | if ( srcWidth <= 0 || srcHeight <= 0 || dstWidth <= 0 || dstHeight <= 0) | |
403 | return true; | |
404 | ||
405 | if(bgcolor != null) | if(bgcolor != null) |
406 | drawPixelsScaledFlipped (g, bgcolor.getRed (), bgcolor.getGreen (), | drawPixelsScaledFlipped (g, bgcolor.getRed (), bgcolor.getGreen (), |
407 | bgcolor.getBlue (), | bgcolor.getBlue (), |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |