org.freedesktop.cairo
Class Surface
Struct
org.freedesktop.cairo.CairoObject
org.freedesktop.cairo.Surface
public class Surface
extends org.freedesktop.cairo.CairoObject
The Surface class represents an Cairo drawing surface. A Cairo object is used
to draw on the drawing surface.
createSimilar
public Surface createSimilar(Content content,
int width,
int height)
finish
public void finish()
markDirty
public void markDirty()
markDirty
public void markDirty(int x,
int y,
int width,
int height)
setDeviceOffset
public void setDeviceOffset(double xOffset,
double yOffset)
writeToPNG
public void writeToPNG(OutputStream ostream)
writeToPNG
public void writeToPNG(String filename)