Parent Directory | Revision Log | 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(); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |