Share via


PathGradientBrush::SetGammaCorrection-Methode (gdipluspath.h)

Die PathGradientBrush::SetGammaCorrection-Methode gibt an, ob die Gammakorrektur für diesen Pfadverlaufspinsel aktiviert ist.

Syntax

Status SetGammaCorrection(
  [in] BOOL useGammaCorrection
);

Parameter

[in] useGammaCorrection

Typ: BOOL

Boolescher Wert, der angibt, ob die Gammakorrektur aktiviert ist. TRUE gibt an, dass die Gammakorrektur aktiviert ist, und FALSE gibt an, dass die Gammakorrektur nicht aktiviert ist.

Rückgabewert

Typ: Status

Wenn die Methode erfolgreich ist, gibt sie OK zurück, ein Element der Status-Enumeration .

Wenn die Methode fehlschlägt, wird eines der anderen Elemente der Status-Enumeration zurückgegeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows XP, Windows 2000 Professional [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows 2000 Server [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile gdipluspath.h (include Gdiplus.h)
Bibliothek Gdiplus.lib
DLL Gdiplus.dll

Weitere Informationen

Pinsel und gefüllte Formen

Erstellen eines Pfadverlaufs

Füllen einer Form mit einem Farbverlauf

Pathgradientbrush

PathGradientBrush::GetGammaCorrection