|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwt.Picture
org.xwt.plat.X11.X11Picture
Implements a Picture. No special X11 structure is created unless the image has no alpha (in which case a non-shared-pixmap PixelBuffer is created), or all-or-nothing alpha (in which case a non-shared-pixmap PixelBuffer with a stipple bitmap is created).
| Field Summary | |
X11.X11PixelBuffer |
doublebuf
|
| Fields inherited from class org.xwt.Picture |
res |
| Constructor Summary | |
X11.X11Picture(int[] data,
int w,
int h)
|
|
| Method Summary | |
int |
getHeight()
the height of the picture |
int |
getWidth()
the width of the picture |
| Methods inherited from class org.xwt.Picture |
fromRes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public X11.X11PixelBuffer doublebuf
| Constructor Detail |
public X11.X11Picture(int[] data,
int w,
int h)
| Method Detail |
public int getWidth()
Picture
getWidth in class Picturepublic int getHeight()
Picture
getHeight in class Picture
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||