Sam Hocevar
83b4374fb4
* Avoid useless call to strlen() in the exporters.
* Removed '\x0f' from the IRC exporter until I understand why it was here.
18 лет назад
Sam Hocevar
5193172468
* Renamed bitmap.c into dither.c.
18 лет назад
Sam Hocevar
58ff9ea1f5
* Renamed *bitmap to *dither. Ben ouais connard, je fais ce que je veux.
18 лет назад
Sam Hocevar
988f2f4e92
* Replaced enum cucul_color with unsigned int. The size of an enum is not
really portable, and Visual Studio complains when they are not explicitely
cast.
18 лет назад
Sam Hocevar
cd0e8f7861
* Fixed old bugs I introduced in the exporters.
* Fixed exporter headers to make Doxygen happy.
18 лет назад
Sam Hocevar
34cf71d1ea
* Added pkgconfig files. Eh ouais mon gars.
18 лет назад
Sam Hocevar
a8990ca5a6
* Replaced occurrences of "rgba" with "argb".
18 лет назад
Sam Hocevar
273371c6b1
* Fixed a syntax error. Gruik.
18 лет назад
Sam Hocevar
e8ae71156d
* Changed the cucul_set_bitmap_antialias() argument to a string.
18 лет назад
Sam Hocevar
eafbe7dd4b
* Of course I had to fuck up something. Here, PS export works again.
18 лет назад
Sam Hocevar
af4b95f8e6
* Store colour information on 32 bits, for future 12-bit colour support.
18 лет назад
Sam Hocevar
c1664e356c
* Got rid of cucul_get_screen(). Use cucul_export() instead.
18 лет назад
Sam Hocevar
fcfbcd4000
* Check the magic bytes at the end of the buffer when cucul_load()ing it.
18 лет назад
Sam Hocevar
3b410fdc89
* Fixed old typo that caused qq->height to be uninitialised.
18 лет назад
Sam Hocevar
7f5fb19a39
* Set the default dithering mode to Floyd-Steinberg.
18 лет назад
Sam Hocevar
7be0932b8f
((`)_.._ ,'-. _..._ _._
* Ooops. Compilation fix. \,' '-._.-\ ' ` .-'
.' / (
/ S | _ _ \
| a \ o o |
; m .-. /
; ', '-.( '')-'
'. | ;-'
\ / /
/ /-._ __, 7 |
\ `\ \`` | | |
\ \_,\ | |_,\
'-`' \_,\
18 лет назад
Sam Hocevar
2213100258
* Got rid of the useless cucul_get_fg_color/cucul_get_bg_color functions.
18 лет назад
Sam Hocevar
cfadd8b64d
* Removed CUCUL_BACKGROUND, CUCUL_ANTIALIASING and CUCUL_DITHERING
environment variables handling. Replaced that with three per-bitmap
functions: cucul_set_bitmap_antialias(), cucul_set_bitmap_color() and
cucul_set_bitmap_dithering().
* Added cucul_set_bitmap_brightness() and cucul_set_bitmap_contrast()
prototypes (but did not implement them yet).
* Added cucul_set_bitmap_charset() to choose what characters are going
to be used for the bitmap rendering.
* Removed the now useless cucul_get_feature(), cucul_set_feature() etc.
18 лет назад
Sam Hocevar
e625e11d52
* Added cucul_get_export_list(). Returns a list of known export formats.
18 лет назад
Sam Hocevar
bca049e6d7
* Changed the 2nd argument of cucul_create_export to a string. This way we
can add new exporters without changing the API.
18 лет назад
Sam Hocevar
41db7b066a
* Implemented cucul_load() to reload a file that was saved with the
raw driver. I know it is inconsistent to have the loader in libcucul
and the exporter in libcaca but I'll find a way to harmonise that.
18 лет назад
Sam Hocevar
3c3e37ca65
* Implemented cucul_invert() to invert a canvas' colours.
18 лет назад
Sam Hocevar
af94141959
* Minor addition to the rotate code.
18 лет назад
Jean-Yves Lamoureux
604852e3ba
* Ok, invert works. OK OK SAM THAT WAS MY FAULT
AHAHAH _
_._ _..._ .-', _.._(`))
'-. ` ' /-._.-' ',/
) MAIS \ '.
/ _ _ | JE \
| a a / SUIS |
\ .-. ;
'-('' ).-' ,' UN ;
'-; | .'
\ VIEUX \ /
| 7 .__ _.-\ \
| | | ``/ /` /
/,_| | /,_/ /
/,_/ '`-'
POOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOORC!
18 лет назад
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 лет назад
Sam Hocevar
376404bc80
* Removed spurious prototype.
18 лет назад
Sam Hocevar
caa62f3158
* Added missing ASCII characters to cucul_rotate().
18 лет назад
Sam Hocevar
6db26f7487
* Made cucul_putchar32() an internal-only function.
* Changed the line, box, ellipsis etc. prototypes so that they use an UTF-8
string instead of a single character as their last argument.
18 лет назад
Sam Hocevar
571de1af04
* Renamed cucul_init()/cucul_end() into cucul_create()/cucul_free().
18 лет назад
Sam Hocevar
6eb822234b
* Added more characters to the flip/rotate routines.
18 лет назад
Sam Hocevar
1d374910e4
* Added cucul_flip(), cucul_flop() and cucul_transform() to perform
operations on canvases.
18 лет назад
Sam Hocevar
77f995023d
* Slightly changed header comments.
18 лет назад
Sam Hocevar
1c7d39a015
* Optimise cucul_blit() by using memcpy() if there is no mask.
18 лет назад
Sam Hocevar
73aad0447c
* Added the cucul_blit() function. It lets us blit various canvas one
onto the other with an optional mask.
18 лет назад
Sam Hocevar
f3698cd490
* Fixed an uninitialised structure member.
18 лет назад
Sam Hocevar
6b0f180e2f
* Renamed cucul/char.c into cucul/canvas.c because I'm adding stuff there
that is a bit more high level than characters.
18 лет назад
Sam Hocevar
2c80bf875b
* Renamed cucul_get_export() to cucul_create_export().
18 лет назад
Sam Hocevar
36886a339e
* Removed the cucul_t * argument from cucul_create_bitmap(). It's not needed.
18 лет назад
Sam Hocevar
c979bc6eae
* Changed the cucul_init parameter so that it now directly accepts a
canvas size (use cucul_init(0, 0) for the old behaviour).
18 лет назад
Sam Hocevar
a20393e0b2
* Removed code that did not need to be duplicated.
18 лет назад
Sam Hocevar
5fff7db514
* Use ln(x) = 2 * (t + t^3/3 + t^5/5 + ...) with t = (x-1)/(x+1).
18 лет назад
Sam Hocevar
c5f841bb96
* Got rid of cucul_powf(), too complex to implement and no longer used.
18 лет назад
Sam Hocevar
b662acdd4e
* Added optional support for CP437 gray blocks in the bitmap renderer.
* Use a custom pow() function for gamma computation.
18 лет назад
Sam Hocevar
382e1148ff
* Tried to do something with cucul_powf. It currently sucks.
18 лет назад
Sam Hocevar
dcaccc744c
* Got rid of useless parameters in cucul_*_bitmap and cucul_*_sprite.
18 лет назад
Sam Hocevar
02ccf6ec3b
* Cosmetic fixes.
18 лет назад
Sam Hocevar
bb1cedf858
* Renamed cucul_buffer to cucul_export. Vanilla rum rules.
18 лет назад
Sam Hocevar
417b598d8d
* Factorised some charset handling code into a new cucul/charset.c file.
18 лет назад
Sam Hocevar
8d698a1158
* Full Unicode support in the SVG exporter.
18 лет назад
Sam Hocevar
08627c3231
___
',_`""\ .---,
\ :-""``/` |
Ahaha mais vieux porc !! `;' //`\ /
/ __ | ('.
|_ ./O)\ \ `) \
_/-. ` `"` |`
.-=; ` /
/o o \ ,_, .
L._._;_.-' .
`'-.` '
`. '
'-._. -'
18 лет назад