org.freedesktop.cairo
Class Surface

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.freedesktop.cairo.Surface
Direct Known Subclasses:
ImageSurface, PDFSurface

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.Surface. As this package was never correctly implemented in java-gnome 2.x, any new code written will likely have a considerably different public API.

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.


Method Summary
 Surface createSimilar(Content content, int width, int height)
          Deprecated.  
 void finish()
          Deprecated.  
 void flush()
          Deprecated.  
 FontOptions getFontOptions()
          Deprecated.  
 void markDirty()
          Deprecated.  
 void markDirty(int x, int y, int width, int height)
          Deprecated.  
 void setDeviceOffset(double xOffset, double yOffset)
          Deprecated.  
 void writeToPNG(java.io.OutputStream ostream)
          Deprecated.  
 void writeToPNG(java.lang.String filename)
          Deprecated.  
 
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
 

Method Detail

createSimilar

public Surface createSimilar(Content content,
                             int width,
                             int height)
Deprecated. 

finish

public void finish()
Deprecated. 

setDeviceOffset

public void setDeviceOffset(double xOffset,
                            double yOffset)
Deprecated. 

writeToPNG

public void writeToPNG(java.lang.String filename)
Deprecated. 

writeToPNG

public void writeToPNG(java.io.OutputStream ostream)
Deprecated. 

getFontOptions

public FontOptions getFontOptions()
Deprecated. 

flush

public void flush()
Deprecated. 

markDirty

public void markDirty()
Deprecated. 

markDirty

public void markDirty(int x,
                      int y,
                      int width,
                      int height)
Deprecated.