org.freedesktop.cairo
Class Glyph

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.freedesktop.cairo.Glyph

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.Glyph. 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 Glyph
extends org.gnu.glib.Struct

A Glyph holds information about a single glyph when drawing or measuring text. A font is (in simple terms) a collection of shapes used to draw text. A glyph is one of these shapes. There can be multiple glyphs for a single character (alternates to be used in different contexts, for example), or a glyph can be a ligature of multiple characters. Cairo doesn't expose any way of converting input text into glyphs, so in order to use the Cairo interfaces that take arrays of glyphs, you must directly access the appropriate underlying font system.


Constructor Summary
Glyph()
          Deprecated.  
Glyph(long index, double x, double y)
          Deprecated.  
 
Method Summary
 long getIndex()
          Deprecated.  
 Point getPoint()
          Deprecated.  
 double getX()
          Deprecated.  
 double getY()
          Deprecated.  
 void setIndex(long index)
          Deprecated.  
 void setX(double x)
          Deprecated.  
 void setY(double y)
          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
 

Constructor Detail

Glyph

public Glyph()
Deprecated. 

Glyph

public Glyph(long index,
             double x,
             double y)
Deprecated. 
Method Detail

getIndex

public long getIndex()
Deprecated. 

setIndex

public void setIndex(long index)
Deprecated. 

getX

public double getX()
Deprecated. 

setX

public void setX(double x)
Deprecated. 

getY

public double getY()
Deprecated. 

setY

public void setY(double y)
Deprecated. 

getPoint

public Point getPoint()
Deprecated.