org.freedesktop.cairo
Class ImageSurface

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.freedesktop.cairo.Surface
          extended by org.freedesktop.cairo.ImageSurface

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may exist in java-gnome 4.0; look out for org.freedesktop.cairo.ImageSurface. As this package was never correctly implemented in java-gnome 2.x, any new code written will likely have a considerably different public API.

public class ImageSurface
extends Surface


Constructor Summary
ImageSurface(char[] data, Format format, int width, int height, int stride)
          Deprecated.  
ImageSurface(Format format, int width, int height)
          Deprecated.  
 
Method Summary
static ImageSurface createFromPNG(java.lang.String filename)
          Deprecated.  
 int getHeight()
          Deprecated.  
 int getWidth()
          Deprecated.  
 
Methods inherited from class org.freedesktop.cairo.Surface
createSimilar, finish, flush, getFontOptions, markDirty, markDirty, setDeviceOffset, writeToPNG, writeToPNG
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageSurface

public ImageSurface(Format format,
                    int width,
                    int height)
Deprecated. 

ImageSurface

public ImageSurface(char[] data,
                    Format format,
                    int width,
                    int height,
                    int stride)
Deprecated. 
Method Detail

getWidth

public int getWidth()
Deprecated. 

getHeight

public int getHeight()
Deprecated. 

createFromPNG

public static ImageSurface createFromPNG(java.lang.String filename)
Deprecated.