Kanzi 3.9.10
FontHintingPreference Enum Reference

Font hinting options. More...

Inheritance diagram for FontHintingPreference:
[legend]

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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FontHintingPreference() [1/2]

Constructs a FontHintingPreference of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ FontHintingPreference() [2/2]

Constructs a copy of a FontHintingPreference object.

Parameters
enum_FontHintingPreference to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static FontHintingPreference swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static FontHintingPreference toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

◆ AutoHinting

AutoHinting =(2)

Enable hinting.

Prefer auto-hinter of the rasterizer over the native hinter of the font.

◆ NativeHinting

NativeHinting =(1)

Enable hinting.

Prefer native hinter of the font over the auto-hinter of the rasterizer.