org.freedesktop.cairo

Class ImageSurface

public class ImageSurface extends Surface

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()