summaryrefslogtreecommitdiffstats
path: root/src/image.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 16:03:11 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 16:03:11 (EDT)
commit807706f08f4ddff2c66f4592c0db0cd261dd6227 (patch)
tree35672cc23c8daa9a9eb82ec7d855199ec78e1934 /src/image.h
parente6cba83cb3c92d623030fbe9e2ff058c84700b7c (diff)
image_render(): Get dimensions from text
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/image.h b/src/image.h
index 513280c..c9ab567 100644
--- a/src/image.h
+++ b/src/image.h
@@ -22,13 +22,15 @@
#ifndef IMAGE_H
#define IMAGE_H
+#include "text.h"
+
struct image;
struct image *
image_new(const char *file_name);
void
-image_render(struct image *image);
+image_render(struct image *image, struct text *text);
struct image *
image_destroy(struct image **image);