summaryrefslogtreecommitdiffstats
path: root/src/image.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use libpng's pointer typedefsPatrick McDermott2019-07-181-1/+1
| | | | Pointers should be as obvious as possible.
* assert() function argumentsPatrick McDermott2019-07-181-0/+9
|
* image_*(), text_*(), sgr(): Add error() outputPatrick McDermott2019-07-181-0/+4
|
* set_program_name(), error(): New functionsPatrick McDermott2019-07-181-2/+1
|
* font_*(), text_*(), image_*(): Add const qualifiersPatrick McDermott2019-07-181-1/+2
|
* image_new(): Support "-" file name for stdoutPatrick McDermott2019-07-181-6/+15
|
* image_destroy(): Close file streamPatrick McDermott2019-07-181-4/+5
|
* image_render() Call text_render()Patrick McDermott2019-07-171-0/+2
|
* src/image.c: Move macros to src/image.hPatrick McDermott2019-07-171-6/+2
|
* image_render(): Switch to 8-bit/color RGBPatrick McDermott2019-07-171-7/+4
|
* image_render(): Use font dimensionsPatrick McDermott2019-07-171-3/+4
|
* image_render(): Get dimensions from textPatrick McDermott2019-07-171-3/+7
|
* image_render(): Allocate and free row buffersPatrick McDermott2019-07-171-18/+19
| | | | | Move code from image_new() and image_destroy() and drop rows member from struct image.
* Add copyright/license headersPatrick McDermott2019-07-171-0/+21
| | | | | | include/linux/font.h, src/image.h, and currently src/main.c probably lack sufficient creativity to be copyrightable, but I'm adding license headers just to be explicit.
* image_*(): New functionsPatrick McDermott2019-07-171-0/+91