L_TEXT_ANTI_ALIASING (original) (raw)

Summary

The L_TEXT_ANTI_ALIASING enumerated type is used to indicate whether anti-aliasing should be used to load text files.

Syntax

typedef enum { L_TEXT_ANTI_ALIASING_AUTO = 0, /* Let LEADTOOLS pick when to use anti-aliasing */ L_TEXT_ANTI_ALIASING_ON = 1, /* Anti-aliasing is always on */ L_TEXT_ANTI_ALIASING_OFF = 2, /* Anti-aliasing is always off */ } L_TEXT_ANTI_ALIASING;

If anti-aliasing is set to L_TEXT_ANTI_ALIASING_AUTO, LEADTOOLS will use anti-aliasing when loading bitmaps as >=24-bit or when loading as 8-bit grayscale. The anti-aliasing will be disabled when loading images at < 8 bits/pixel.

Usage

LEADTOOLS Raster Imaging C API Help