org.freedesktop.cairo
Class HintMetrics
java.lang.Object
org.gnu.glib.Enum
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.
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 |
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
intern
public static HintMetrics intern(int value)
test
public boolean test(HintMetrics other)