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 |
|
|
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 |
} |
} |
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 () |