|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Enum
org.freedesktop.cairo.HintStyle
public class HintStyle
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 |
---|
public static final HintStyle DEFAULT
public static final HintStyle NONE
public static final HintStyle SLIGHT
public static final HintStyle MEDIUM
public static final HintStyle FULL
Method Detail |
---|
public static HintStyle intern(int value)
public boolean test(HintStyle other)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |