org.freedesktop.cairo
Class HintMetrics

java.lang.Object
  extended by org.gnu.glib.Enum
      extended by org.freedesktop.cairo.HintMetrics

public class HintMetrics
extends org.gnu.glib.Enum

Specifies whether to hint font metrics; hinting font metrics means quantizing them so that they are integer values in device space. Doing this improves the consistency of letter and line spacing, however it also means that text will be laid out differently at different zoom factors.


Field Summary
static HintMetrics DEFAULT
          Hint metrics in the default manner for the font backend and target device
static HintMetrics OFF
          Do not hint font metrics
static HintMetrics ON
          Hint font metrics
 
Method Summary
static HintMetrics intern(int value)
           
 boolean test(HintMetrics other)
           
 
Methods inherited from class org.gnu.glib.Enum
equals, getValue, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final HintMetrics DEFAULT
Hint metrics in the default manner for the font backend and target device


OFF

public static final HintMetrics OFF
Do not hint font metrics


ON

public static final HintMetrics ON
Hint font metrics

Method Detail

intern

public static HintMetrics intern(int value)

test

public boolean test(HintMetrics other)