Learn R Programming

RGtk2 (version 2.20.31)

gtkCurveSetGamma: gtkCurveSetGamma

Description

Recomputes the entire curve using the given gamma value. A gamma value of 1 results in a straight line. Values greater than 1 result in a curve above the straight line. Values less than 1 result in a curve below the straight line. The curve type is changed to GTK_CURVE_TYPE_FREE. FIXME: Needs a more precise definition of gamma. WARNING: gtk_curve_set_gamma has been deprecated since version 2.20 and should not be used in newly-written code. Don't use this widget anymore.

Usage

gtkCurveSetGamma(object, gamma)

Arguments

object
gamma
the gamma value.