org.freedesktop.cairo
Class HintMetrics

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

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.HintMetrics. 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 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
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
static HintMetrics OFF
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
static HintMetrics ON
          Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
 
Method Summary
static HintMetrics intern(int value)
          Deprecated.  
 boolean test(HintMetrics other)
          Deprecated.  
 
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
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Hint metrics in the default manner for the font backend and target device


OFF

public static final HintMetrics OFF
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Do not hint font metrics


ON

public static final HintMetrics ON
Deprecated. Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Hint font metrics

Method Detail

intern

public static HintMetrics intern(int value)
Deprecated. 

test

public boolean test(HintMetrics other)
Deprecated.