IDWriteRenderingParams::GetEnhancedContrast method (dwrite.h)
Gets the enhanced contrast property of the rendering parameters object. Valid values are greater than or equal to zero.
Syntax
FLOAT GetEnhancedContrast();
Return value
Type: FLOAT
Returns the amount of contrast enhancement. Valid values are greater than or equal to zero.
Remarks
Enhanced contrast is the amount to increase the darkness of text, and typically ranges from 0 to 1. Zero means no contrast enhancement.
Requirements
Requirement | Value |
---|---|
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 |