summaryrefslogtreecommitdiff
path: root/gfx/cro.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-30 20:01:45 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-30 20:13:40 -0300
commite5f83a6d3f12984758748d70f827c2ad4e68ef0f (patch)
tree4192a351f6041d8cbfab8a4673dc174901f2948f /gfx/cro.h
parentd34bd9be49b2fc8d85eba54f1e8e67bc40a0eb67 (diff)
downloadeeshow-e5f83a6d3f12984758748d70f827c2ad4e68ef0f.tar.gz
eeshow-e5f83a6d3f12984758748d70f827c2ad4e68ef0f.tar.bz2
eeshow-e5f83a6d3f12984758748d70f827c2ad4e68ef0f.zip
gfx/: begin to bring some order into post-diff cleanup
Sadly, we need two new partial destructor functions for this, cro_img_reset and cro_img_destroy, plus one for the graphics abstraction, gfx_destroy.
Diffstat (limited to 'gfx/cro.h')
-rw-r--r--gfx/cro.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gfx/cro.h b/gfx/cro.h
index 5b22a1b..df32dc3 100644
--- a/gfx/cro.h
+++ b/gfx/cro.h
@@ -41,6 +41,8 @@ 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);
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);
void cro_canvas_end(struct cro_ctx *cc, int *w, int *h, int *xmin, int *ymin);
void cro_canvas_prepare(cairo_t *cr);