FillResult.hpp 667 B

123456789101112131415161718192021222324
  1. //
  2. // FillResult.hpp
  3. // auto_fill_jewel_v3
  4. //
  5. // Created by Red on 2024/11/26.
  6. // 定义填充结果信息
  7. #ifndef FillResult_hpp
  8. #define FillResult_hpp
  9. #include <stdio.h>
  10. struct FillResult {
  11. float _x,_y ;// 宝石位置相对盘子左下角(原点)的坐标,盘子内部坐标,注意盘子有效填充区域和盘子精灵尺寸的区别。
  12. // 这里盘子的坐标原点指的是盘子精灵图片尺寸的左下角坐标。
  13. float _rotdeg ;//旋转角度,单位角度
  14. int _jewelTypeId ;//宝石类型ID
  15. float _width; //宝石外接宽度
  16. float _height;//宝石外接高度
  17. } ;
  18. #endif /* FillResult_hpp */