xtd 0.2.0
Loading...
Searching...
No Matches
text rendering

Definition

text rendering definitions.

Warning
Internal use only

Variables

constexpr xtd::int32 TR_SYSTEM_DEFAULT
 Each character is drawn using its glyph bitmap, with the system default rendering hint. The text will be drawn using whatever font-smoothing settings the user has selected for the system.
 
constexpr xtd::int32 TR_SINGLE_BIT_PER_PIXEL_GRID_FIT
 Each character is drawn using its glyph bitmap. Hinting is used to improve character appearance on stems and curvature.
 
constexpr xtd::int32 TR_SINGLE_BIT_PAER_PIXEL
 Each character is drawn using its glyph bitmap. Hinting is not used.
 
constexpr xtd::int32 TR_ANTI_ALIAS_GRID_FIT
 Each character is drawn using its antialiased glyph bitmap with hinting. Much better quality due to antialiasing, but at a higher performance cost.
 
constexpr xtd::int32 TR_ANTI_ALIAS
 Each character is drawn using its antialiased glyph bitmap without hinting. Better quality due to antialiasing. Stem width differences may be noticeable because hinting is turned off.
 
constexpr xtd::int32 TR_CLEAR_TYPE_GRID_FIT
 Each character is drawn using its glyph ClearType bitmap with hinting. The highest quality setting. Used to take advantage of ClearType font features.
 

Variable Documentation

◆ TR_SYSTEM_DEFAULT

constexpr xtd::int32 TR_SYSTEM_DEFAULT
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/text_rendering.h>

Each character is drawn using its glyph bitmap, with the system default rendering hint. The text will be drawn using whatever font-smoothing settings the user has selected for the system.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ TR_SINGLE_BIT_PER_PIXEL_GRID_FIT

constexpr xtd::int32 TR_SINGLE_BIT_PER_PIXEL_GRID_FIT
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/text_rendering.h>

Each character is drawn using its glyph bitmap. Hinting is used to improve character appearance on stems and curvature.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ TR_SINGLE_BIT_PAER_PIXEL

constexpr xtd::int32 TR_SINGLE_BIT_PAER_PIXEL
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/text_rendering.h>

Each character is drawn using its glyph bitmap. Hinting is not used.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ TR_ANTI_ALIAS_GRID_FIT

constexpr xtd::int32 TR_ANTI_ALIAS_GRID_FIT
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/text_rendering.h>

Each character is drawn using its antialiased glyph bitmap with hinting. Much better quality due to antialiasing, but at a higher performance cost.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ TR_ANTI_ALIAS

constexpr xtd::int32 TR_ANTI_ALIAS
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/text_rendering.h>

Each character is drawn using its antialiased glyph bitmap without hinting. Better quality due to antialiasing. Stem width differences may be noticeable because hinting is turned off.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only

◆ TR_CLEAR_TYPE_GRID_FIT

constexpr xtd::int32 TR_CLEAR_TYPE_GRID_FIT
constexpr

#include <xtd.drawing.native/include/xtd/drawing/native/text_rendering.h>

Each character is drawn using its glyph ClearType bitmap with hinting. The highest quality setting. Used to take advantage of ClearType font features.

Library
xtd.drawing.native
Remarks
Added specifically for xtd.
Warning
Internal use only