96 Commits (018fda76e8abb70669c8428472a7409d9e47c5b3)

Author SHA1 Message Date
  Sam Hocevar 018fda76e8 * Removed \file directives from all files except caca.h and cucul.h, to 18 years ago
  Sam Hocevar 93d3548d58 * Added a lot of sanity checks to the font parsing. It should now be 18 years ago
  Sam Hocevar 1911e368f4 * Fixed compilation warning. 18 years ago
  Sam Hocevar b355e0581d * Fixed colour conversion routines so that they work with ARGB too. 18 years ago
  Sam Hocevar ea780d5321 * Implemented cucul_get_font_list() to retrieve the list of builtin fonts. 18 years ago
  Sam Hocevar ebfb2b388b * Internal font support through cucul_load_font(). Documented that. 18 years ago
  Sam Hocevar b40cfe1302 * Ugly overflow bug in the rendering code. 18 years ago
  Sam Hocevar a273b3d7ec * Implemented cucul_get_font_width() and cucul_get_font_height(). 18 years ago
  Sam Hocevar 41d475589c * Renamed cucul_export into cucul_buffer. We'll use it for other things. 18 years ago
  Sam Hocevar 15bff441bc * Putain de bordel de manche a couilles. I forgot to fix the font. 18 years ago
  Sam Hocevar c1e5f30692 * Fixed 4, 2 and 1-bit font rendering. 18 years ago
  Sam Hocevar 9369b9a48f * Created internal function _cucul_argb32_to_argb4() that splits an argb 18 years ago
  Sam Hocevar 8fffb73b1e * 4bpp fonts do not work yet. Replaced the built-in font with an 8bpp font 18 years ago
  Sam Hocevar d8821beb81 * Created a built-in font from Bitstream Vera (Monospace 9). 18 years ago
  Sam Hocevar 1da6ea358b * Slightly updated the font format and wrote a font loader. Also added a 18 years ago
  Sam Hocevar 33060e0b5a * New version of the font format. 18 years ago
  Sam Hocevar a05603a774 * Added a file for future font handling routines. Currently only the font 18 years ago
  Sam Hocevar 83b4374fb4 * Avoid useless call to strlen() in the exporters. 18 years ago
  Sam Hocevar 5193172468 * Renamed bitmap.c into dither.c. 18 years ago
  Sam Hocevar 58ff9ea1f5 * Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux. 18 years ago
  Sam Hocevar 988f2f4e92 * Replaced enum cucul_color with unsigned int. The size of an enum is not 18 years ago
  Sam Hocevar cd0e8f7861 * Fixed old bugs I introduced in the exporters. 18 years ago
  Sam Hocevar 34cf71d1ea * Added pkgconfig files. Eh ouais mon gars. 18 years ago
  Sam Hocevar a8990ca5a6 * Replaced occurrences of "rgba" with "argb". 18 years ago
  Sam Hocevar 273371c6b1 * Fixed a syntax error. Gruik. 18 years ago
  Sam Hocevar e8ae71156d * Changed the cucul_set_bitmap_antialias() argument to a string. 18 years ago
  Sam Hocevar eafbe7dd4b * Of course I had to fuck up something. Here, PS export works again. 18 years ago
  Sam Hocevar af4b95f8e6 * Store colour information on 32 bits, for future 12-bit colour support. 18 years ago
  Sam Hocevar c1664e356c * Got rid of cucul_get_screen(). Use cucul_export() instead. 18 years ago
  Sam Hocevar fcfbcd4000 * Check the magic bytes at the end of the buffer when cucul_load()ing it. 18 years ago
  Sam Hocevar 3b410fdc89 * Fixed old typo that caused qq->height to be uninitialised. 18 years ago
  Sam Hocevar 7f5fb19a39 * Set the default dithering mode to Floyd-Steinberg. 18 years ago
  Sam Hocevar 7be0932b8f ((`)_.._ ,'-. _..._ _._ 18 years ago
  Sam Hocevar 2213100258 * Got rid of the useless cucul_get_fg_color/cucul_get_bg_color functions. 18 years ago
  Sam Hocevar cfadd8b64d * Removed CUCUL_BACKGROUND, CUCUL_ANTIALIASING and CUCUL_DITHERING 18 years ago
  Sam Hocevar e625e11d52 * Added cucul_get_export_list(). Returns a list of known export formats. 18 years ago
  Sam Hocevar bca049e6d7 * Changed the 2nd argument of cucul_create_export to a string. This way we 18 years ago
  Sam Hocevar 41db7b066a * Implemented cucul_load() to reload a file that was saved with the 18 years ago
  Sam Hocevar 3c3e37ca65 * Implemented cucul_invert() to invert a canvas' colours. 18 years ago
  Sam Hocevar af94141959 * Minor addition to the rotate code. 18 years ago
  Jean-Yves Lamoureux 604852e3ba * Ok, invert works. OK OK SAM THAT WAS MY FAULT 18 years ago
  Jean-Yves Lamoureux f53bc3937a * Added bitmap invert routine. It doesn't work well, so don't use it right now. Sam is working hard to correct the strange behaviour. 18 years ago
  Sam Hocevar 376404bc80 * Removed spurious prototype. 18 years ago
  Sam Hocevar caa62f3158 * Added missing ASCII characters to cucul_rotate(). 18 years ago
  Sam Hocevar 6db26f7487 * Made cucul_putchar32() an internal-only function. 18 years ago
  Sam Hocevar 571de1af04 * Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free(). 18 years ago
  Sam Hocevar 6eb822234b * Added more characters to the flip/rotate routines. 18 years ago
  Sam Hocevar 1d374910e4 * Added cucul_flip(), cucul_flop() and cucul_transform() to perform 18 years ago
  Sam Hocevar 77f995023d * Slightly changed header comments. 18 years ago
  Sam Hocevar 1c7d39a015 * Optimise cucul_blit() by using memcpy() if there is no mask. 18 years ago