IDWriteRenderingParams::GetEnhancedContrast method
Gets the enhanced contrast property of the rendering parameters object. Valid values are greater than or equal to zero.
Syntax
virtual FLOAT GetEnhancedContrast() = 0;
Parameters
This method has no parameters.
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
|
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 |
|
|
Library |
|
|
DLL |
|
See also