Ignore:
Timestamp:
Nov 3, 2007, 11:59:53 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Add cucul_get_dither_brightness(), _gamma() and _contrast(). There is no reason to keep a copy of them in the calling program.
  • Deprecate cucul_set_dither_invert(). Inverting a dither's colours is now done by setting a negative gamma value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/cucul.h

    r1853 r1870  
    209209                             unsigned int b[], unsigned int a[]);
    210210int cucul_set_dither_brightness(cucul_dither_t *, float);
     211float cucul_get_dither_brightness(cucul_dither_t *);
    211212int cucul_set_dither_gamma(cucul_dither_t *, float);
     213float cucul_get_dither_gamma(cucul_dither_t *);
    212214int cucul_set_dither_contrast(cucul_dither_t *, float);
    213 int cucul_set_dither_invert(cucul_dither_t *, int);
     215float cucul_get_dither_contrast(cucul_dither_t *);
    214216int cucul_set_dither_antialias(cucul_dither_t *, char const *);
    215217char const * const * cucul_get_dither_antialias_list(cucul_dither_t const *);
     
    292294                                         char const *) CUCUL_DEPRECATED;
    293295    int cucul_rotate(cucul_canvas_t *) CUCUL_DEPRECATED;
     296    int cucul_set_dither_invert(cucul_dither_t *, int) CUCUL_DEPRECATED;
    294297#   define CUCUL_COLOR_BLACK CUCUL_BLACK
    295298#   define CUCUL_COLOR_BLUE CUCUL_BLUE
Note: See TracChangeset for help on using the changeset viewer.