From 3bebe8b1c2fec41a9c33b7310f27804bc1062db6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 28 Mar 2016 18:01:54 +0200 Subject: Restore images --- src/frame.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/frame.h') 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, -- cgit v1.2.3