Method function IGDIPlus.IGPLinearGradientBrush.SetGammaCorrection(Boolean) : TGPLinearGradientBrush

From Mitov Wiki Doc
Jump to: navigation, search

This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.

Class: IGPLinearGradientBrush

Contents

Syntax

Delphi:

function SetGammaCorrection( useGammaCorrection : Boolean ) : TGPLinearGradientBrush;

C++ Builder:

TGPLinearGradientBrush __fastcall SetGammaCorrection( bool useGammaCorrection );

Visual C++ (MFC):

SetGammaCorrection(  useGammaCorrection );

Summary

Specifies whether gamma correction is enabled for this linear gradient brush.

Description

Call this method to specify whether gamma correction is enabled for this linear gradient brush.


Remarks Gamma correction is often done to match the intensity contrast of the gradient to the ability of the human eye to perceive intensity changes.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox