diff options
Diffstat (limited to 'libstorycode/narrative_render_cairo.h')
-rw-r--r-- | libstorycode/narrative_render_cairo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstorycode/narrative_render_cairo.h b/libstorycode/narrative_render_cairo.h index 265b3d9..5c1880f 100644 --- a/libstorycode/narrative_render_cairo.h +++ b/libstorycode/narrative_render_cairo.h @@ -55,6 +55,8 @@ extern int narrative_render_cairo(Narrative *n, cairo_t *cr, Stylesheet *stylesh extern void narrative_sort_positions(struct edit_pos *a, struct edit_pos *b); +extern double narrative_get_item_y(Narrative *n, int item); + extern void narrative_get_item_range(Narrative *n, double min_y, double max_y, int *start_item, int *end_item); |