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

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

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

revision 1.18 by mark, Tue Jan 22 22:26:56 2002 UTC revision 1.19 by tromey, Sat Nov 9 23:17:30 2002 UTC
# Line 1  Line 1 
1  /* GdkGraphics.java  /* GdkGraphics.java
2     Copyright (C) 1998, 1999 Free Software Foundation, Inc.     Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 92  public class GdkGraphics extends Graphic Line 92  public class GdkGraphics extends Graphic
92    
93    public void clipRect (int x, int y, int width, int height)    public void clipRect (int x, int y, int width, int height)
94    {    {
     if (!clip.intersects (new Rectangle (x, y, width, height)))  
       {  
         System.out.println ("DONT' INTERSETCT");  
       }  
95      clip = clip.intersection (new Rectangle (x, y, width, height));      clip = clip.intersection (new Rectangle (x, y, width, height));
96      setClipRectangle (clip.x, clip.y, clip.width, clip.height);      setClipRectangle (clip.x, clip.y, clip.width, clip.height);
97    }    }
# Line 218  public class GdkGraphics extends Graphic Line 214  public class GdkGraphics extends Graphic
214    public void drawRoundRect(int x, int y, int width, int height,    public void drawRoundRect(int x, int y, int width, int height,
215                              int arcWidth, int arcHeight)                              int arcWidth, int arcHeight)
216    {    {
217      System.out.println ("drawRoundRect called [UNIMPLEMENTED]");      // System.out.println ("drawRoundRect called [UNIMPLEMENTED]");
218    }    }
219    
220    public void fillRoundRect (int x, int y, int width, int height,    public void fillRoundRect (int x, int y, int width, int height,
221                               int arcWidth, int arcHeight)                               int arcWidth, int arcHeight)
222    {    {
223      System.out.println ("fillRoundRect called [UNIMPLEMENTED]");      // System.out.println ("fillRoundRect called [UNIMPLEMENTED]");
224    }    }
225    
226    public Shape getClip ()    public Shape getClip ()

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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