gtkPreviewSetGamma: gtkPreviewSetGamma

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

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

1

Arguments

gamma

the new gamma value.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.