aboutsummaryrefslogtreecommitdiff
path: root/src/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/frame.h')
-rw-r--r--src/frame.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index c52df27..1e46239 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -123,6 +123,7 @@ extern double total_height(struct frame *fr);
extern Paragraph *last_open_para(struct frame *fr);
extern Paragraph *current_para(struct frame *fr);
extern void close_last_paragraph(struct frame *fr);
+extern int last_para_available_for_text(struct frame *fr);
extern void show_para(Paragraph *p);
extern void set_para_spacing(Paragraph *para, float space[4]);
@@ -130,6 +131,9 @@ extern double paragraph_height(Paragraph *para);
extern void render_paragraph(cairo_t *cr, Paragraph *para, ImageStore *is,
enum is_size isz);
+extern int get_newline_at_end(Paragraph *para);
+extern void set_newline_at_end(Paragraph *para);
+
extern void add_run(Paragraph *para, SCBlock *scblock, SCBlock *macro_real,
size_t offs_bytes, size_t len_bytes,
PangoFontDescription *fdesc, double col[4]);