org.freedesktop.cairo
Class TextExtents

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

public class TextExtents
extends org.gnu.glib.Struct

The TextExtents stores the extents of a single glyph or a string of glyphs in user-space coordinates. Because text extents are in user-space coordinates, they don't scale along with the current transformation matrix.


Method Summary
 double getHeight()
           
 double getWidth()
           
 double getXAdvance()
           
 double getXBearing()
           
 double getYAdvance()
           
 double getYBearing()
           
 
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

getXBearing

public double getXBearing()

getYBearing

public double getYBearing()

getWidth

public double getWidth()

getHeight

public double getHeight()

getXAdvance

public double getXAdvance()

getYAdvance

public double getYAdvance()