From e35a90b4f45a94ab5ddf7bc9660cab451fe1a7b3 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sat, 11 May 2024 19:53:35 -0400 Subject: (mapman) Export images. --- mapman/src/utils.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mapman/src/utils.hpp') diff --git a/mapman/src/utils.hpp b/mapman/src/utils.hpp index 76978f2..286e0e2 100644 --- a/mapman/src/utils.hpp +++ b/mapman/src/utils.hpp @@ -5,6 +5,7 @@ #include #include +#include struct rgb_t { @@ -78,5 +79,9 @@ const rgb_t MAP_COLORS[62] = { {127, 167, 150} }; +class map_library; +struct map_group_t; + QPixmap pixmap_of_map_data(const map_data_t &map_data, double scaling = 1.); +QImage image_of_map_group(const map_library *library, const map_group_t &group, double scaling = 1.); #endif -- cgit v1.2.3