Commit 1cb02bdf by Michael Koch Committed by Michael Koch

2003-02-13 Michael Koch <konqueror@gmx.de>

	* gnu/java/awt/peer/gtk/GdkGraphics.java
	(drawString): New stubbed method.
	* java/awt/Graphics.java
	(drawString): New method.

From-SVN: r62862
parent ffc8f11e
2003-02-13 Michael Koch <konqueror@gmx.de>
* gnu/java/awt/peer/gtk/GdkGraphics.java
(drawString): New stubbed method.
* java/awt/Graphics.java
(drawString): New method.
2003-02-13 Casey Marshall <rsdio@metastatic.org> 2003-02-13 Casey Marshall <rsdio@metastatic.org>
PR libgcj/9271: PR libgcj/9271:
......
...@@ -40,6 +40,7 @@ package gnu.java.awt.peer.gtk; ...@@ -40,6 +40,7 @@ package gnu.java.awt.peer.gtk;
import java.awt.*; import java.awt.*;
import java.awt.image.*; import java.awt.image.*;
import java.text.AttributedCharacterIterator;
public class GdkGraphics extends Graphics public class GdkGraphics extends Graphics
{ {
...@@ -211,6 +212,11 @@ public class GdkGraphics extends Graphics ...@@ -211,6 +212,11 @@ public class GdkGraphics extends Graphics
((GtkFontPeer)font.getPeer ()).getXLFD (), font.getSize ()); ((GtkFontPeer)font.getPeer ()).getXLFD (), font.getSize ());
} }
public void drawString (AttributedCharacterIterator ci, int x, int y)
{
throw new Error ("not implemented");
}
public void drawRoundRect(int x, int y, int width, int height, public void drawRoundRect(int x, int y, int width, int height,
int arcWidth, int arcHeight) int arcWidth, int arcHeight)
{ {
......
...@@ -39,6 +39,7 @@ exception statement from your version. */ ...@@ -39,6 +39,7 @@ exception statement from your version. */
package java.awt; package java.awt;
import java.awt.image.ImageObserver; import java.awt.image.ImageObserver;
import java.text.AttributedCharacterIterator;
/** /**
* This is the abstract superclass of classes for drawing to graphics * This is the abstract superclass of classes for drawing to graphics
...@@ -595,6 +596,8 @@ fillPolygon(Polygon polygon) ...@@ -595,6 +596,8 @@ fillPolygon(Polygon polygon)
public abstract void public abstract void
drawString(String string, int x, int y); drawString(String string, int x, int y);
public abstract void drawString (AttributedCharacterIterator ci, int x, int y);
/*************************************************************************/ /*************************************************************************/
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment