IDWriteRenderingParams::GetClearTypeLevel method

Gets the ClearType level of the rendering parameters object.

Syntax


virtual FLOAT GetClearTypeLevel() = 0;

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteRenderingParams

 

 

Community Additions

ADD
Show:
© 2014 Microsoft