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

public class ImageSurface
extends Surface


Constructor Summary
ImageSurface(char[] data, Format format, int width, int height, int stride)
           
ImageSurface(Format format, int width, int height)
           
 
Method Summary
static ImageSurface createFromPNG(java.lang.String filename)
           
 int getHeight()
           
 int getWidth()
           
 
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)

ImageSurface

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

getWidth

public int getWidth()

getHeight

public int getHeight()

createFromPNG

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