From e38f4d2f1a2211ed03ac6418c460931194fa2870 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Mon, 13 Feb 2017 18:16:22 +0000 Subject: Get render bitmap size via function --- frontends/amiga/plotters.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'frontends/amiga/plotters.c') diff --git a/frontends/amiga/plotters.c b/frontends/amiga/plotters.c index e70a9a998..0f00bc415 100644 --- a/frontends/amiga/plotters.c +++ b/frontends/amiga/plotters.c @@ -265,6 +265,12 @@ struct BitMap *ami_plot_ra_get_bitmap(struct gui_globals *gg) return gg->bm; } +void ami_plot_ra_get_size(struct gui_globals *gg, int *width, int *height) +{ + *width = gg->width; + *height = gg->height; +} + void ami_plot_ra_set_pen_list(struct gui_globals *gg, struct MinList *pen_list) { gg->shared_pens = pen_list; -- cgit v1.2.3