org.xwt.plat
Class X11.X11Picture

java.lang.Object
  extended byorg.xwt.Picture
      extended byorg.xwt.plat.X11.X11Picture
Enclosing class:
X11

public static class X11.X11Picture
extends Picture

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

doublebuf

public X11.X11PixelBuffer doublebuf
Constructor Detail

X11.X11Picture

public X11.X11Picture(int[] data,
                      int w,
                      int h)
Method Detail

getWidth

public int getWidth()
Description copied from class: Picture
the width of the picture

Specified by:
getWidth in class Picture

getHeight

public int getHeight()
Description copied from class: Picture
the height of the picture

Specified by:
getHeight in class Picture