Changeset 1875
- Timestamp:
- Nov 4, 2007, 10:56:37 AM (13 years ago)
- Location:
- libcaca/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/cxx/cucul++.cpp
r1822 r1875 324 324 } 325 325 326 void Dither::setInvert(int i)327 {328 cucul_set_dither_invert(dither, i);329 }330 331 326 void Dither::setAntialias(char const *cv) 332 327 { -
libcaca/trunk/cxx/cucul++.h
r1462 r1875 66 66 void setGamma(float); 67 67 void setContrast(float); 68 void setInvert(int);69 68 void setAntialias(char const *); 70 69 char const *const * getAntialiasList(); -
libcaca/trunk/test/demo.c
r1823 r1875 556 556 557 557 dither = cucul_create_dither(32, 256, 256, 4 * 256, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000); 558 cucul_set_dither_invert(dither, 1);558 cucul_set_dither_gamma(dither, -1.0); 559 559 cucul_dither_bitmap(cv, 0, 0, cucul_get_canvas_width(cv), cucul_get_canvas_height(cv), dither, (char *)buffer); 560 560 cucul_free_dither(dither);
Note: See TracChangeset
for help on using the changeset viewer.