org.freedesktop.cairo
Class Surface
java.lang.Object
org.gnu.glib.Struct
org.freedesktop.cairo.Surface
- Direct Known Subclasses:
- ImageSurface, PDFSurface
public class Surface
- extends org.gnu.glib.Struct
The Surface class represents an Cairo drawing surface. A Cairo object is used
to draw on the drawing surface.
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 |
createSimilar
public Surface createSimilar(Content content,
int width,
int height)
finish
public void finish()
setDeviceOffset
public void setDeviceOffset(double xOffset,
double yOffset)
writeToPNG
public void writeToPNG(java.lang.String filename)
writeToPNG
public void writeToPNG(java.io.OutputStream ostream)
getFontOptions
public FontOptions getFontOptions()
flush
public void flush()
markDirty
public void markDirty()
markDirty
public void markDirty(int x,
int y,
int width,
int height)