/[classpath]/classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java
ViewVC logotype

Diff of /classpath/gnu/java/awt/peer/gtk/GdkGraphics2D.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.37 by ziga, Tue Jun 14 17:31:07 2005 UTC revision 1.38 by ziga, Mon Jun 27 22:35:55 2005 UTC
# Line 201  public class GdkGraphics2D extends Graph Line 201  public class GdkGraphics2D extends Graph
201      initState(width, height);      initState(width, height);
202    
203      setColor(Color.black);      setColor(Color.black);
204      setBackground(Color.black);      setBackground(new Color(0, 0, 0, 0));
205      setPaint(getColor());      setPaint(getColor());
206      setFont(new Font("SansSerif", Font.PLAIN, 12));      setFont(new Font("SansSerif", Font.PLAIN, 12));
207      setTransform(new AffineTransform());      setTransform(new AffineTransform());
# Line 255  public class GdkGraphics2D extends Graph Line 255  public class GdkGraphics2D extends Graph
255      initState(this.pixelBuffer, bimage.getWidth(), bimage.getHeight());      initState(this.pixelBuffer, bimage.getWidth(), bimage.getHeight());
256    
257      setColor(Color.black);      setColor(Color.black);
258      setBackground(Color.black);      setBackground(new Color(0, 0, 0, 0));
259      setPaint(getColor());      setPaint(getColor());
260      setFont(new Font("SansSerif", Font.PLAIN, 12));      setFont(new Font("SansSerif", Font.PLAIN, 12));
261      setTransform(new AffineTransform());      setTransform(new AffineTransform());
# Line 545  public class GdkGraphics2D extends Graph Line 545  public class GdkGraphics2D extends Graph
545                  // draw an image which has actually been loaded                  // draw an image which has actually been loaded
546                  // into memory fully                  // into memory fully
547                  BufferedImage b = (BufferedImage) img;                  BufferedImage b = (BufferedImage) img;
548                  return drawRaster(b.getColorModel(), b.getData(),                  return drawRaster(b.getColorModel(), b.getTile(0, 0),
549                                    invertedXform, bgcolor);                                    invertedXform, bgcolor);
550                }                }
551              else              else

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26