Font hinting options. More...
Public Member Functions | |
FontHintingPreference (FontHintingPreference enum_) | |
Constructs a copy of a FontHintingPreference object. | |
FontHintingPreference (int value) | |
Constructs a FontHintingPreference of an integer value. | |
int | getValue () |
Returns the integer value of the enumeration constant. | |
final int | swigValue () |
Returns the integer value of the enumeration constant. | |
Static Public Member Functions | |
static FontHintingPreference | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. | |
static FontHintingPreference | toEnum (int value) |
Converts an integer value to the matching enumeration constant. | |
Public Attributes | |
AutoHinting =(2) | |
Enable hinting. | |
NativeHinting =(1) | |
Enable hinting. | |
NoHinting =(0) | |
Render text without hinting the outlines of glyphs. | |
Font hinting options.
Hinting refers to the adjustments in the outline-filling process of a glyph,
so that the glyph lines up within the rasterized grid.
FontHintingPreference | ( | int | value | ) |
Constructs a FontHintingPreference of an integer value.
value | Integer value to convert to enumeration constant. |
Constructs a copy of a FontHintingPreference object.
enum_ | FontHintingPreference to be copy constructed. |
int getValue | ( | ) |
|
static |
Converts an integer value to the matching enumeration constant.
Used internally by SWIG generated code.
swigValue | Integer value to convert to enumeration constant. |
Returns the integer value of the enumeration constant.
Used internally by SWIG generated code.
|
static |
Converts an integer value to the matching enumeration constant.
value | Integer value to convert to enumeration constant. |
AutoHinting =(2) |
Enable hinting.
Prefer auto-hinter of the rasterizer over the native hinter of the font.
NativeHinting =(1) |
Enable hinting.
Prefer native hinter of the font over the auto-hinter of the rasterizer.