summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-19 09:46:43 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-02-19 09:46:43 +0000
commitc56d76a8d14eba29e87937409c59194ab219c64b (patch)
tree74d7ebdb199a44c010b4e32a4ca2816cc01b6cb5 /libjava
parentd3ea5d40d21ab21ee8fd8535f3ab1063db800b0a (diff)
downloadgcc-c56d76a8d14eba29e87937409c59194ab219c64b.tar.gz
2003-02-19 Michael Koch <konqueror@gmx.de>
* gnu/awt/j2d/Graphics2DImpl.java (getFontRenderContext): New method. (drawGlyphVector): New method. * java/awt/Graphics2D.java (getFontRenderContext): New abstract method. (drawGlyphVector): New abstract method. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63097 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog9
-rw-r--r--libjava/gnu/awt/j2d/Graphics2DImpl.java12
-rw-r--r--libjava/java/awt/Graphics2D.java6
3 files changed, 26 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 116d2a10ec0..526d7de8270 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,12 @@
+2003-02-19 Michael Koch <konqueror@gmx.de>
+
+ * gnu/awt/j2d/Graphics2DImpl.java
+ (getFontRenderContext): New method.
+ (drawGlyphVector): New method.
+ * java/awt/Graphics2D.java
+ (getFontRenderContext): New abstract method.
+ (drawGlyphVector): New abstract method.
+
2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
* gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
diff --git a/libjava/gnu/awt/j2d/Graphics2DImpl.java b/libjava/gnu/awt/j2d/Graphics2DImpl.java
index 5af41bfc9cb..e5daa9dec6b 100644
--- a/libjava/gnu/awt/j2d/Graphics2DImpl.java
+++ b/libjava/gnu/awt/j2d/Graphics2DImpl.java
@@ -21,6 +21,8 @@ import java.awt.FontMetrics;
import java.awt.Paint;
import java.awt.RenderingHints;
import java.awt.Stroke;
+import java.awt.font.FontRenderContext;
+import java.awt.font.GlyphVector;
import java.awt.geom.AffineTransform;
import java.awt.image.ImageObserver;
import java.awt.image.BufferedImage;
@@ -516,4 +518,14 @@ public class Graphics2DImpl extends Graphics2D implements Cloneable
{
throw new UnsupportedOperationException("not implemented yet");
}
+
+ public FontRenderContext getFontRenderContext ()
+ {
+ throw new UnsupportedOperationException("not implemented yet");
+ }
+
+ public void drawGlyphVector (GlyphVector g, float x, float y)
+ {
+ throw new UnsupportedOperationException("not implemented yet");
+ }
}
diff --git a/libjava/java/awt/Graphics2D.java b/libjava/java/awt/Graphics2D.java
index ed80936bfcb..b35f08aa821 100644
--- a/libjava/java/awt/Graphics2D.java
+++ b/libjava/java/awt/Graphics2D.java
@@ -36,6 +36,8 @@ exception statement from your version. */
package java.awt;
+import java.awt.font.FontRenderContext;
+import java.awt.font.GlyphVector;
import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;
import java.awt.image.BufferedImageOp;
@@ -151,5 +153,7 @@ public abstract class Graphics2D extends Graphics
public abstract void clip(Shape s);
- // public abstract FontRenderContext getFontRenderContext();
+ public abstract FontRenderContext getFontRenderContext ();
+
+ public abstract void drawGlyphVector (GlyphVector g, float x, float y);
}