Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkPreviewSetGamma

gtkPreviewSetGamma


Description

Set the gamma-correction value for all preview widgets. (This function will eventually be replaced with a function that sets a per-preview-widget gamma value). The resulting intensity is given by: destination_value * pow (source_value/255, 1/gamma). The gamma value is applied when the data is set with gtkPreviewDrawRow so changing this value will not affect existing data in preview widgets. WARNING: gtk_preview_set_gamma is deprecated and should not be used in newly-written code.

Usage

gtkPreviewSetGamma(gamma)

Arguments

gamma

the new gamma value.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.