// // LevelThumbTool.hpp // auto_fill_jewel_v3 // // Created by Red on 2024/12/4. // 生成关卡盘子摆放的缩略图 #ifndef LevelThumbTool_hpp #define LevelThumbTool_hpp #include #include using std::vector; #include "contourdata.h" #include "FillGlobalConfig.hpp" #include #include #include #include "FillResult.hpp" #include using std::tuple; struct LevelThumbTool { void drawthumb( string outname , // 输出png文件名 vector>>>& fillResultsArr, // tuple<盘子类型ID, <层数组<一层填充结果>>> vector& posiArr //盘子中心坐标位置数组,坐标系原点在游戏区域左下角 ) ; //deprecated, use makeThumb2 void makeThumb(string outpngname, vector& plateIdArr,vector& platePosiArr ) ; void makeThumb2(string outpngname, vector>>>& fillResultsArr,vector& platePosiArr ) ; } ; #endif /* LevelThumbTool_hpp */