X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fxwt%2FDoubleBuffer.java;h=5e78e988f2521da0a3280e1e6cefab0d3e21c2a7;hp=6529870ca3ecd5f201fd1042a64718cdca9e5b4b;hb=c6069948906645d974f46bdb96617a9a6a504636;hpb=cf3587e2fd5966b7ebfd721d9413674224d1ad2a diff --git a/src/org/xwt/DoubleBuffer.java b/src/org/xwt/DoubleBuffer.java index 6529870..5e78e98 100644 --- a/src/org/xwt/DoubleBuffer.java +++ b/src/org/xwt/DoubleBuffer.java @@ -10,32 +10,32 @@ package org.xwt; * *

* Implementations of the Platform class should return objects - * supporting this interface from the _createDoubleBuffer() + * supporting this interface from the _createPixelBuffer() * method. These implementations may choose to use off-screen video * ram for this purpose (for example, a Pixmap on X11). *

* *

- * A note on coordinates: all members on DoubleBuffer specify + * A note on coordinates: all members on PixelBuffer specify * coordinates in terms of x1,y1,x2,y2 even though the Box class * represents regions internally as x,y,w,h. *

*/ -public abstract class DoubleBuffer { +public abstract class PixelBuffer { - /** Draw the region of source within (sx1, sy1, sx2, sy2) onto the region of this DoubleBuffer within (dx1, dy1, dx2, dy2), scaling as needed. */ + /** Draw the region of source within (sx1, sy1, sx2, sy2) onto the region of this PixelBuffer within (dx1, dy1, dx2, dy2), scaling as needed. */ public abstract void drawPicture(Picture source, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2); - /** Draw source onto this DoubleBuffer at (x,y) */ + /** Draw source onto this PixelBuffer at (x,y) */ public abstract void drawPicture(Picture source, int x, int y); - /** Draw text in font and color on this DoubleBuffer, with the upper left corner of the text at (x, y) */ + /** Draw text in font and color on this PixelBuffer, with the upper left corner of the text at (x, y) */ public abstract void drawString(String font, String text, int x, int y, int color); /** Fill the region (x1, y1, x2, y2) with color (AARRGGBB format); the alpha channel component is ignored */ public abstract void fillRect(int x1, int y1, int x2, int y2, int color); - /** Sets the clip region for this DoubleBuffer to (x,y,x2,y2) */ + /** Sets the clip region for this PixelBuffer to (x,y,x2,y2) */ public abstract void setClip(int x, int y, int x2, int y2); public abstract int getHeight();