org.freedesktop.cairo
Class HintStyle

java.lang.Object
  extended byorg.gnu.glib.Enum
      extended byorg.freedesktop.cairo.HintStyle

public class HintStyle
extends org.gnu.glib.Enum

Specifies the type of hinting to do on font outlines. Hinting is the process of fitting outlines to the pixel grid in order to improve the appearance of the result. Since hinting outlines involves distorting them, it also reduces the faithfulness to the original outline shapes. Not all of the outline hinting styles are supported by all font backends.


Field Summary
static HintStyle DEFAULT
          Use the default hint style for for font backend and target device
static HintStyle FULL
          Hint outlines to maximize contrast
static HintStyle MEDIUM
          Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast
static HintStyle NONE
          Do not hint outlines
static HintStyle SLIGHT
          Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.
 
Method Summary
static HintStyle intern(int value)
           
 boolean test(HintStyle 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 HintStyle DEFAULT
Use the default hint style for for font backend and target device


NONE

public static final HintStyle NONE
Do not hint outlines


SLIGHT

public static final HintStyle SLIGHT
Hint outlines slightly to improve contrast while retaining good fidelity to the original shapes.


MEDIUM

public static final HintStyle MEDIUM
Hint outlines with medium strength giving a compromise between fidelity to the original shapes and contrast


FULL

public static final HintStyle FULL
Hint outlines to maximize contrast

Method Detail

intern

public static HintStyle intern(int value)

test

public boolean test(HintStyle other)