Parent Directory | Revision Log | Patch
revision 1.5 by mkoch, Wed Jul 9 10:25:34 2003 UTC | revision 1.6 by mark, Fri Jul 30 16:01:47 2004 UTC | |
---|---|---|
# | Line 76 public class GtkOffScreenImage extends I | Line 76 public class GtkOffScreenImage extends I |
76 | ||
77 | public Graphics getGraphics () | public Graphics getGraphics () |
78 | { | { |
79 | return g; | if (g instanceof GdkGraphics2D) |
80 | return new GdkGraphics2D ((GdkGraphics2D) this.g); | |
81 | else | |
82 | return new GdkGraphics ((GdkGraphics) this.g); | |
83 | } | } |
84 | ||
85 | public Object getProperty (String name, ImageObserver observer) | public Object getProperty (String name, ImageObserver observer) |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |