IDWriteRenderingParams::GetClearTypeLevel method

Gets the ClearType level of the rendering parameters object.

Syntax

FLOAT GetClearTypeLevel(

);

Parameters

This method has no parameters.

Return Value

Type: FLOAT

The ClearType level of the rendering parameters object.

Remarks

The ClearType level represents the amount of ClearType – that is, the degree to which the red, green, and blue subpixels of each pixel are treated differently. Valid values range from zero (meaning no ClearType, which is equivalent to grayscale anti-aliasing) to one (meaning full ClearType)

Requirements

   
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite.h
Library Dwrite.lib
DLL Dwrite.dll

See Also

IDWriteRenderingParams