org.freedesktop.cairo

Class 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(String filename)
int
getHeight()
int
getWidth()

Methods inherited from class org.freedesktop.cairo.Surface

createSimilar, finish, flush, getFontOptions, markDirty, markDirty, setDeviceOffset, writeToPNG, writeToPNG

Constructor Details

ImageSurface

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

ImageSurface

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

Method Details

createFromPNG

public static ImageSurface createFromPNG(String filename)

getHeight

public int getHeight()

getWidth

public int getWidth()