1
0
mirror of git://projects.qi-hardware.com/antorcha.git synced 2024-11-23 05:50:17 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Werner Almesberger
236ef1dad0 tools/libtxt/font.c: split load_image_file (load from open file) off load_image 2012-07-01 20:51:47 -03:00
Werner Almesberger
21e4fb267e tools/libtxt/: introduce utility functions alloc_size and alloc_type 2012-07-01 20:43:04 -03:00
Werner Almesberger
d33449e128 tools/libtxt/: move alloc_sprintf from font.c to util.h, for later sharing 2012-07-01 20:32:56 -03:00
Werner Almesberger
3faf58c601 tools/libtxt/font.c (do_draw): we can now have negative coordinates; clip them too 2012-06-30 13:57:03 -03:00
Werner Almesberger
6ffcd815f9 tools/libtxt/font.c (free_image, free_font): allow NULL pointer 2012-06-30 12:59:50 -03:00
Werner Almesberger
350283375c tools/libtxt/: create library instead of executable 2012-06-30 12:52:01 -03:00
Werner Almesberger
2a83110369 tools/libtxt/: add image drawing (future <IMG name> directive) 2012-06-30 12:01:24 -03:00
Werner Almesberger
3ef4fb3ca2 tools/libtxt/: make_font takes ownership of the image
This way, we don't need to track/free the image separately.
2012-06-30 11:43:13 -03:00
Werner Almesberger
67a3ecc798 tools/libtxt/: add rendering of (compiled) edits (untested, WIP) 2012-06-29 22:52:25 -03:00
Werner Almesberger
d05c6a9558 tools/libtxt/: restructure to make more modular and avoid global variables 2012-06-29 22:21:30 -03:00
Werner Almesberger
2514c0891a tools/libtxt/: text composition library (WIP) 2012-06-29 21:04:11 -03:00