Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_modify_color_modifier_gamma ( double  gamma_value  ) 

gamma_value Value of gamma.
Modifies the current color modifier by adjusting the gamma by the value specified gamma_value. The color modifier is modified not set, so calling this repeatedly has cumulative effects. A gamma of 1.0 is normal linear, 2.0 brightens and 0.5 darkens etc. Negative values are not allowed.

Definition at line 4193 of file imlib2.c.

   if (!ctx)
      ctx = imlib_context_new();
   CHECK_PARAM_POINTER("imlib_modify_color_modifier_gamma", "color_modifier",
   __imlib_CmodModGamma((ImlibColorModifier *) ctx->color_modifier,

Generated by  Doxygen 1.6.0   Back to index