diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-01-13 08:35:29 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-01-13 08:35:29 +0100 |
commit | a352e79c37b7f35875473d8c9b517272f4f693e0 (patch) | |
tree | b941ea8bd8ddd5ad1f8db5ad2d2bf9ce2b7f648f /src/sc_interp.h | |
parent | e0cfd1748e891548cadab2500447e2e944d08600 (diff) |
Handle font/colour changes and actually draw the lines
Diffstat (limited to 'src/sc_interp.h')
-rw-r--r-- | src/sc_interp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sc_interp.h b/src/sc_interp.h index ad59193..05504f0 100644 --- a/src/sc_interp.h +++ b/src/sc_interp.h @@ -27,6 +27,8 @@ #include <config.h> #endif +#include <pango/pangocairo.h> + struct sc_font { @@ -40,12 +42,13 @@ struct sc_font typedef struct _scinterp SCInterpreter; -extern SCInterpreter *sc_interp_new(void); +extern SCInterpreter *sc_interp_new(PangoContext *pc); extern void sc_interp_destroy(SCInterpreter *scin); extern void sc_interp_save(SCInterpreter *scin); extern void sc_interp_restore(SCInterpreter *scin); extern int sc_interp_add_blocks(SCInterpreter *scin, const SCBlock *bl); +extern struct wrap_line *sc_interp_get_boxes(SCInterpreter *scin); #endif /* SC_INTERP_H */ |