DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE

Undocumented in source.

Values

ValueMeaning
DWRITE_TEXT_ANTIALIAS_MODE_CLEARTYPE

<summary> ClearType antialiasing computes coverage independently for the red, green, and blue color elements of each pixel. This allows for more detail than conventional antialiasing. However, because there is no one alpha value for each pixel, ClearType is not suitable rendering text onto a transparent intermediate bitmap. </summary>

DWRITE_TEXT_ANTIALIAS_MODE_GRAYSCALE

<summary> Grayscale antialiasing computes one coverage value for each pixel. Because the alpha value of each pixel is well-defined, text can be rendered onto a transparent bitmap, which can then be composited with other content. Note that grayscale rendering with IDWriteBitmapRenderTarget1 uses premultiplied alpha. </summary>

Meta