PathGradientBrush::GetGammaCorrection method

The PathGradientBrush::GetGammaCorrection method determines whether gamma correction is enabled for this path gradient brush.

Syntax

BOOL GetGammaCorrection(

);

Parameters

This method has no parameters.

Return Value

Type: Type: BOOL

If gamma correction is enabled, this method returns TRUE; otherwise, it returns FALSE.

Requirements

   
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdipluspath.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See Also

Brushes and Filled Shapes

Creating a Path Gradient

Filling a Shape with a Color Gradient

PathGradientBrush

PathGradientBrush::SetGammaCorrection