/[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.51 by langel, Tue Nov 22 14:37:43 2005 UTC revision 1.52 by langel, Tue Nov 22 19:08:44 2005 UTC
# Line 247  public class GdkGraphics extends Graphic Line 247  public class GdkGraphics extends Graphic
247    native void drawString (GdkFontPeer f, String str, int x, int y);    native void drawString (GdkFontPeer f, String str, int x, int y);
248    public void drawString (String str, int x, int y)    public void drawString (String str, int x, int y)
249    {    {
     // FIXME: Possibly more characters we need to ignore/  
     // Also, implementation may be inefficent because allocating  
     // new Strings.  
     str = Pattern.compile("[\b|\t|\n|\f|\r|\"|\']").matcher(str).replaceAll("");  
250      drawString(getFontPeer(), str, x, y);      drawString(getFontPeer(), str, x, y);
251    }      }  
252        

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

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