summaryrefslogtreecommitdiff
path: root/gfx/cro.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-29 22:11:04 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-29 22:22:03 -0300
commit9fa6e29c6bbd1cb2f1c3b988267c12522baae08a (patch)
treefb88db19f6b9f08c9bdb459bd669ece67324e454 /gfx/cro.h
parent5c7199fb2fced0064092c621107f4ff30f82f940 (diff)
downloadeeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.gz
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.tar.bz2
eeshow-9fa6e29c6bbd1cb2f1c3b988267c12522baae08a.zip
add "extra" filtering at gfx_end (this fixed -e for all Cairo formats)
Diffstat (limited to 'gfx/cro.h')
-rw-r--r--gfx/cro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/cro.h b/gfx/cro.h
index f24ba38..b75d9ed 100644
--- a/gfx/cro.h
+++ b/gfx/cro.h
@@ -42,7 +42,8 @@ void cro_color_override(struct cro_ctx *cc, int color);
void cro_get_size(const struct cro_ctx *cc, int *w, int *h, int *x, int *y);
-uint32_t *cro_img_end(struct cro_ctx *cc, int *w, int *h, int *stride);
+uint32_t *cro_img_end(struct cro_ctx *cc, int *w, int *h, int *stride,
+ enum gfx_extra extra);
void cro_img_write(cairo_surface_t *s, const char *name);
void cro_img_reset(struct cro_ctx *cc);
void cro_img_destroy(struct cro_ctx *cc);