From 3db384424bd7398ffbb7a355cab8f15f3add009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Oct 2016 19:24:58 +0200 Subject: New upstream version 1.9.1+repack --- rspl/rspl.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'rspl/rspl.c') diff --git a/rspl/rspl.c b/rspl/rspl.c index 431a7e3..db63a47 100644 --- a/rspl/rspl.c +++ b/rspl/rspl.c @@ -60,6 +60,7 @@ static void get_out_range(rspl *s, double *min, double *max); static void get_out_range_points(rspl *s, int *minp, int *maxp); static double get_out_scale(rspl *s); static unsigned int get_next_touch(rspl *s); +static int *get_res(rspl *s); static int within_restrictedsize(rspl *s); static int interp_rspl_sx(rspl *s, co *pp); static int part_interp_rspl_sx(rspl *s, co *p1, co *p2); @@ -180,6 +181,7 @@ printf("!!!! rspl.c using interp_rspl_nl !!!!"); s->get_out_range = get_out_range; s->get_out_range_points = get_out_range_points; s->get_out_scale = get_out_scale; + s->get_res = get_res; s->get_next_touch = get_next_touch; s->within_restrictedsize = within_restrictedsize; @@ -415,6 +417,12 @@ rspl *s return tg; } +/* ============================================ */ +/* Return a pointer to the resolution array */ +static int *get_res(rspl *s) { + return s->g.res; +} + /* ============================================ */ /* Return non-zero if this rspl can be */ /* used with Restricted Size functions. */ -- cgit v1.2.3