diff options
Diffstat (limited to 'libstorycode/stylesheet.c')
-rw-r--r-- | libstorycode/stylesheet.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libstorycode/stylesheet.c b/libstorycode/stylesheet.c index 5d40f4b..0002859 100644 --- a/libstorycode/stylesheet.c +++ b/libstorycode/stylesheet.c @@ -144,6 +144,15 @@ static struct style *get_style(Stylesheet *s, enum style_element el) } +int stylesheet_get_slide_default_size(Stylesheet *s, double *w, double *h) +{ + if ( s == NULL ) return 1; + *w = s->default_slide_w; + *h = s->default_slide_h; + return 0; +} + + int stylesheet_set_slide_default_size(Stylesheet *s, double w, double h) { if ( s == NULL ) return 1; |