org.freedesktop.cairo

Class ImageSurface

public class ImageSurface extends Surface

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.

Constructor Summary
ImageSurface(Format format, int width, int height)
ImageSurface(char[] data, Format format, int width, int height, int stride)
Method Summary
static ImageSurfacecreateFromPNG(String filename)
intgetHeight()
intgetWidth()

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

createFromPNG

public static ImageSurface createFromPNG(String filename)

getHeight

public int getHeight()

getWidth

public int getWidth()