gcc/libjava/jni/gtk-peer
Graydon Hoare 146a1ecb87 GdkClasspathFontPeerMetrics.java: New file.
2003-11-17  Graydon Hoare  <graydon@redhat.com>

	* gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: New file.
	* gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java
	(GdkFontLineMetrics): New inner class.
	(getLineMetrics): Return new GdkFontLineMetrics.
	(getFontMetrics): Return new GdkClasspathFontPeerMetrics.
	(layoutGlyphVector): Create GdkGlyphVector.
	* gnu/java/awt/peer/gtk/GdkGraphics2D.java (stateStack): New member.
	(GdkGraphics2D): Initialize state via mathod calls.
	(cairoSetMatrix, cairoShowGlyphs): Simplify native calls.
	(cairoTranslate, cairoScale, cairoRotate): Remove.
	(various methods): use setTransform for special transform cases.
	(DrawState): New inner class.
	(stateSave): New method.
	(stateRestore): New method.
	(various methods): use stateSave, stateRestore.
	(getClipInDevSpace): New method.
	(clip, clipRect, setClip, getClip, getClipBounds):
	Follow spec more closely.
	(getTransform): Return clone of transform.
	(setStroke): Set linewidth to passed width / 2.0.
	(setPaintMode): Set SrcOver rather than Xor.
	(setColor): Set paint to passed color.
	(drawRaster, drawImage, PainterThread, drawPixels): Take affine
	transform from image to user space.
	(drawRenderedImage, drawRenderableImage): Implement.
	(getFontRenderContext, getFontMetrics, drawString, getFont):
	Implement
	(drawArc, drawOval, drawRoundRect, fillArc, fillOval, fillRoundRect):
	Implement.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
	Match changes to java side.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
	Release resources.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
	Don't use pango for metrics.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
	New file.

From-SVN: r73776
2003-11-20 22:44:01 +00:00
..
gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c GdkClasspathFontPeerMetrics.java: New file. 2003-11-20 22:44:01 +00:00
gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c GdkClasspathFontPeerMetrics.java: New file. 2003-11-20 22:44:01 +00:00
gnu_java_awt_peer_gtk_GdkFontMetrics.c
gnu_java_awt_peer_gtk_GdkGlyphVector.c GdkClasspathFontPeerMetrics.java: New file. 2003-11-20 22:44:01 +00:00
gnu_java_awt_peer_gtk_GdkGraphics2D.c GdkClasspathFontPeerMetrics.java: New file. 2003-11-20 22:44:01 +00:00
gnu_java_awt_peer_gtk_GdkGraphics.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GdkPixbufDecoder.c GdkGraphics2D.java, [...]: New files. 2003-09-17 20:03:02 +00:00
gnu_java_awt_peer_gtk_GtkButtonPeer.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GtkCanvasPeer.c GdkGraphics.java (drawString): Pass font name, not XLFD, to native drawString. 2003-08-22 20:33:50 +00:00
gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
gnu_java_awt_peer_gtk_GtkChoicePeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkClipboard.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkComponentPeer.c GtkLabelPeer.java (create()): Call new create. 2003-11-11 17:04:47 +00:00
gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c GtkEmbeddedWindowPeer.java (construct): Remove method declaration. 2003-09-17 04:39:34 +00:00
gnu_java_awt_peer_gtk_GtkEvents.c GtkButtonPeer.java (handleEvent): Remove modality check. 2003-10-09 00:26:29 +00:00
gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
gnu_java_awt_peer_gtk_GtkImagePainter.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkLabelPeer.c gnu_java_awt_peer_gtk_GtkLabelPeer.c (setAlignment): Rename to nativeSetAlignment. 2003-11-12 17:38:22 +00:00
gnu_java_awt_peer_gtk_GtkListPeer.c gnu_java_awt_peer_gtk_GtkListPeer.c (getSize): Return scrolled window's size request. 2003-10-30 01:49:39 +00:00
gnu_java_awt_peer_gtk_GtkMainThread.c GtkDialogPeer.java (handleEvent): Remove method. 2003-10-24 19:40:30 +00:00
gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
gnu_java_awt_peer_gtk_GtkMenuItemPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkMenuPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkPanelPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkScrollBarPeer.c gnu_java_awt_peer_gtk_GtkScrollBarPeer.c: Handle missing event cases, connect to "value-changed" signal. 2003-07-18 19:27:42 +00:00
gnu_java_awt_peer_gtk_GtkScrollPanePeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkTextAreaPeer.c gnu_java_awt_peer_gtk_GtkTextAreaPeer.c (create): Turn on word wrapping. 2003-10-30 17:37:33 +00:00
gnu_java_awt_peer_gtk_GtkTextComponentPeer.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkTextFieldPeer.c 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com> 2003-10-08 23:38:45 +00:00
gnu_java_awt_peer_gtk_GtkToolkit.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gnu_java_awt_peer_gtk_GtkWindowPeer.c GtkDialogPeer.java (handleEvent): Remove method. 2003-10-24 19:40:30 +00:00
gthread-jni.c GtkMenuItemPeer.java (setEnabled): Stub out. 2003-10-08 15:49:33 +00:00
gthread-jni.h
gtkpeer.h GtkDialogPeer.java (handleEvent): Remove method. 2003-10-24 19:40:30 +00:00