aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-03-28 18:01:54 +0200
committerThomas White <taw@bitwiz.org.uk>2016-03-28 18:01:54 +0200
commit3bebe8b1c2fec41a9c33b7310f27804bc1062db6 (patch)
treeaab58805c8c0e210f1e43a45299482dff99fac2b /src/frame.h
parent57dac45b3405edee4300c11411fbf712916437bb (diff)
Restore images
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h
index 2652a27..b300c8d 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -32,6 +32,7 @@
#include "sc_parse.h"
#include "sc_interp.h"
+#include "imagestore.h"
typedef enum
@@ -106,8 +107,9 @@ extern double total_height(struct frame *fr);
extern Paragraph *last_open_para(struct frame *fr);
extern void close_last_paragraph(struct frame *fr);
-extern PangoLayout *paragraph_layout(Paragraph *para);
extern double paragraph_height(Paragraph *para);
+extern void render_paragraph(cairo_t *cr, Paragraph *para, ImageStore *is,
+ enum is_size isz);
extern void add_run(Paragraph *para, SCBlock *scblock, size_t offs_bytes,
size_t len_bytes, PangoFontDescription *fdesc,