IDWriteRenderingParams::GetGamma Method

Gets the gamma value used for gamma correction. Valid values must be greater than zero and cannot exceed 256.

Syntax

virtual FLOAT GetGamma() = 0;

Parameter

Methode umfasst keine Parameter.

Rückgabewert

Returns the gamma value used for gamma correction. Valid values must be greater than zero and cannot exceed 256.

Hinweise

The gamma value is used for gamma correction, which compensates for the non-linear luminosity response of most monitors.

Anforderungen

Mindestens unterstützter Client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Mindestens unterstützter Server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Dwrite.h

Bibliothek

Dwrite.lib

DLL

Dwrite.dll

Siehe auch

IDWriteRenderingParams