2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/awt/j2d/DirectRasterGraphics.java * gnu/java/awt/EmbeddedWindowSupport.java From-SVN: r72339
This commit is contained in:
parent
f93c21801e
commit
31f28689a0
@ -1,3 +1,8 @@
|
||||
2003-10-11 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* gnu/awt/j2d/DirectRasterGraphics.java
|
||||
* gnu/java/awt/EmbeddedWindowSupport.java
|
||||
|
||||
2003-10-09 Michael Koch <konqueror@gmx.de>
|
||||
|
||||
* gnu/java/nio/SelectorImpl.java (register):
|
||||
|
@ -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();
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user