diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-02-22 22:20:10 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-02-22 22:20:10 +0100 |
commit | aee387068f5b9013687250e8d655b56a0c5776f2 (patch) | |
tree | b835c6a32dc1731a3a1634564fee82851e26790d /src | |
parent | 3ff425d840876c0db965b23826998161ee87c1fd (diff) |
Rearrange rendering stuff
Rendering parts are allowed to access the internals of the slide
structure, to avoid a profusion of getter/setter functions.
Diffstat (limited to 'src')
-rw-r--r-- | src/pdfstorycode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pdfstorycode.c b/src/pdfstorycode.c index e24b970..04d2b82 100644 --- a/src/pdfstorycode.c +++ b/src/pdfstorycode.c @@ -37,7 +37,7 @@ #include "storycode.h" #include "presentation.h" #include "slide.h" -#include "cairo/render.h" +#include "slide_render_cairo.h" #include <libintl.h> #define _(x) gettext(x) @@ -72,7 +72,7 @@ static int render_slides_to_pdf(Presentation *p, const char *filename) cairo_save(cr); cairo_scale(cr, w/log_w, w/log_w); - cairo_render_slide(s, cr, presentation_get_stylesheet(p), + slide_render_cairo(s, cr, presentation_get_stylesheet(p), i, pango_language_get_default(), pc); cairo_show_page(cr); cairo_restore(cr); |