FillResult.hpp 632 B

1234567891011121314151617181920212223
  1. //
  2. // FillResult.hpp
  3. // Test
  4. //
  5. // Created by 高慕白 on 2024/12/3.
  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 */