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.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'frontends/amiga/plotters.h') diff --git a/frontends/amiga/plotters.h b/frontends/amiga/plotters.h index 4d2dc660c..ed89916e7 100644 --- a/frontends/amiga/plotters.h +++ b/frontends/amiga/plotters.h @@ -76,6 +76,14 @@ void ami_plot_ra_free(struct gui_globals *gg); */ struct BitMap *ami_plot_ra_get_bitmap(struct gui_globals *gg); +/** + * Get size of BitMap associated with a render area + * \param gg render area + * \param width updated to BitMap width + * \param height updated to BitMap height + */ +void ami_plot_ra_get_size(struct gui_globals *gg, int *width, int *height); + /** * Set a list of shared pens for a render area to use * Only relevant for palette-mapped screens -- cgit v1.2.3