Parent Directory | Revision Log | Patch
revision 1.43 by fitzsim, Fri Sep 2 04:15:51 2005 UTC | revision 1.44 by fitzsim, Fri Sep 2 04:42:23 2005 UTC | |
---|---|---|
# | Line 1510 public class GdkGraphics2D extends Graph | Line 1510 public class GdkGraphics2D extends Graph |
1510 | ||
1511 | public void drawString(String str, float x, float y) | public void drawString(String str, float x, float y) |
1512 | { | { |
1513 | if (str == null || str.length() == 0) | |
1514 | return; | |
1515 | ||
1516 | drawGlyphVector(getFont().createGlyphVector(null, str), x, y); | drawGlyphVector(getFont().createGlyphVector(null, str), x, y); |
1517 | updateBufferedImage (); | updateBufferedImage (); |
1518 | } | } |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |