summaryrefslogtreecommitdiff
path: root/frontends/amiga/plotters.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 18:16:22 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2017-02-13 18:16:22 +0000
commite38f4d2f1a2211ed03ac6418c460931194fa2870 (patch)
tree3108f42e2d931da80a49121c9bc6ff4c9e345cf2 /frontends/amiga/plotters.c
parent593ec1fbeab32d598bc4cc5de42bb0887ad0d520 (diff)
downloadnetsurf-e38f4d2f1a2211ed03ac6418c460931194fa2870.tar.gz
netsurf-e38f4d2f1a2211ed03ac6418c460931194fa2870.tar.bz2
Get render bitmap size via function
Diffstat (limited to 'frontends/amiga/plotters.c')
-rw-r--r--frontends/amiga/plotters.c6
1 files changed, 6 insertions, 0 deletions
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;