/[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.50 by rabbit78, Sat Sep 24 22:01:11 2005 UTC revision 1.51 by andreast, Tue Oct 4 05:28:18 2005 UTC
# Line 1068  public class GdkGraphics2D extends Graph Line 1068  public class GdkGraphics2D extends Graph
1068    
1069    public void clearRect(int x, int y, int width, int height)    public void clearRect(int x, int y, int width, int height)
1070    {    {
1071      cairoSetRGBAColor(bg.getRed() / 255.0, bg.getGreen() / 255.0,      if (bg != null)
1072                        bg.getBlue() / 255.0, 1.0);        cairoSetRGBAColor(bg.getRed() / 255.0, bg.getGreen() / 255.0,
1073                            bg.getBlue() / 255.0, 1.0);
1074      cairoNewPath();      cairoNewPath();
1075      cairoRectangle(x, y, width, height);      cairoRectangle(x, y, width, height);
1076      cairoFill();      cairoFill();

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

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