Public Member Functions | |
FontHintingPreference (int value) | |
Constructs a FontHintingPreference of an integer value. More... | |
FontHintingPreference (FontHintingPreference enum_) | |
Constructs a copy of a FontHintingPreference object. More... | |
int | getValue () |
Returns the integer value of the enumeration constant. More... | |
final int | swigValue () |
Returns the integer value of the enumeration constant. More... | |
Static Public Member Functions | |
static FontHintingPreference | swigToEnum (int swigValue) |
Converts an integer value to the matching enumeration constant. More... | |
static FontHintingPreference | toEnum (int value) |
Converts an integer value to the matching enumeration constant. More... | |
Public Attributes | |
AutoHinting =(2) | |
Enable hinting. More... | |
NativeHinting =(1) | |
Enable hinting. More... | |
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. |
final int swigValue | ( | ) |
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.