Logo Search packages:      
Sourcecode: adesklets version File versions

void imlib_modify_color_modifier_contrast ( double  contrast_value  ) 

contrast_value Value of contrast.
Modifies the current color modifier by adjusting the contrast by the value contrast_value. The color modifier is modified not set, so calling this repeatedly has cumulative effects. Contrast of 1.0 does nothing. 0.0 will merge to gray, 2.0 will double contrast etc.

Definition at line 4233 of file imlib2.c.

   if (!ctx)
      ctx = imlib_context_new();
                       "color_modifier", ctx->color_modifier);
   __imlib_CmodModContrast((ImlibColorModifier *) ctx->color_modifier,

Generated by  Doxygen 1.6.0   Back to index