diff options
author | Michael Koch <konqueror@gmx.de> | 2003-10-11 17:10:03 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-10-11 17:10:03 +0000 |
commit | 31f28689a0624348f9371ba307b69aabce6484ac (patch) | |
tree | 06a6248d1f05c4ff57f9222cd969679255c8e587 /libjava/gnu | |
parent | f93c21801e66897707427dc4b3ae7fc6042462c3 (diff) | |
download | gcc-31f28689a0624348f9371ba307b69aabce6484ac.zip gcc-31f28689a0624348f9371ba307b69aabce6484ac.tar.gz gcc-31f28689a0624348f9371ba307b69aabce6484ac.tar.bz2 |
2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/awt/j2d/DirectRasterGraphics.java
* gnu/java/awt/EmbeddedWindowSupport.java
From-SVN: r72339
Diffstat (limited to 'libjava/gnu')
-rw-r--r-- | libjava/gnu/awt/j2d/DirectRasterGraphics.java | 42 | ||||
-rw-r--r-- | libjava/gnu/java/awt/EmbeddedWindowSupport.java | 2 |
2 files changed, 22 insertions, 22 deletions
diff --git a/libjava/gnu/awt/j2d/DirectRasterGraphics.java b/libjava/gnu/awt/j2d/DirectRasterGraphics.java index 28aad9b..d7248b9 100644 --- a/libjava/gnu/awt/j2d/DirectRasterGraphics.java +++ b/libjava/gnu/awt/j2d/DirectRasterGraphics.java @@ -27,46 +27,46 @@ import java.awt.image.ImageObserver; */ public interface DirectRasterGraphics extends Cloneable { - public void dispose(); + void dispose(); - public void setColor(Color color); + void setColor(Color color); - public void setPaintMode(); + void setPaintMode(); - public void setXORMode(Color altColor); + void setXORMode(Color altColor); - public void setFont(Font font); + void setFont(Font font); - public FontMetrics getFontMetrics(Font font); + FontMetrics getFontMetrics(Font font); // supports rects, multi-rects and polygons - public void setClip(Shape clip); + void setClip(Shape clip); - public void copyArea(int x, int y, int width, int height, + void copyArea(int x, int y, int width, int height, int dx, int dy); - public void drawLine(int x1, int y1, int x2, int y2); + void drawLine(int x1, int y1, int x2, int y2); - public void drawRect(int x, int y, int width, int height); + void drawRect(int x, int y, int width, int height); - public void fillRect(int x, int y, int width, int height); + void fillRect(int x, int y, int width, int height); - public void drawArc(int x, int y, int width, int height, + void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle); - public void fillArc(int x, int y, int width, int height, + void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle); - public void drawPolyline(int[] xPoints, int[] yPoints, int nPoints); + void drawPolyline(int[] xPoints, int[] yPoints, int nPoints); - public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints); + void drawPolygon(int[] xPoints, int[] yPoints, int nPoints); - public void fillPolygon(int[] xPoints, int[] yPoints, int nPoints, + void fillPolygon(int[] xPoints, int[] yPoints, int nPoints, int translateX, int translateY); - public void drawString(String str, int x, int y); + void drawString(String str, int x, int y); - public boolean drawImage(Image image, int x, int y, + boolean drawImage(Image image, int x, int y, ImageObserver observer); /** @@ -74,12 +74,12 @@ public interface DirectRasterGraphics extends Cloneable * raster object. This gives read/write access to the screen * pixels, allowing neat alpha and composite tricks. */ - public MappedRaster mapRaster(Rectangle bounds); + MappedRaster mapRaster(Rectangle bounds); /** * Detach previously mapped pixel data from a raster object. */ - public void unmapRaster(MappedRaster mappedRaster); + void unmapRaster(MappedRaster mappedRaster); - public Object clone(); + Object clone(); } diff --git a/libjava/gnu/java/awt/EmbeddedWindowSupport.java b/libjava/gnu/java/awt/EmbeddedWindowSupport.java index 9860953..9d48499e 100644 --- a/libjava/gnu/java/awt/EmbeddedWindowSupport.java +++ b/libjava/gnu/java/awt/EmbeddedWindowSupport.java @@ -61,5 +61,5 @@ public interface EmbeddedWindowSupport * * @param w The embedded window with which to associate a peer. */ - public EmbeddedWindowPeer createEmbeddedWindow (EmbeddedWindow w); + EmbeddedWindowPeer createEmbeddedWindow (EmbeddedWindow w); } |