Euphoria
scalingsprite.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "io/json.h"
4 
5 
7 {
8  struct Rect {
9  int left = 10;
10  int right = 10;
11  int top = 10;
12  int bottom = 10;
13  };
14 
15  struct ScalingSprite {
16  /* positive = absolute size, negative=abs percent size */
17  std::vector<int> rows;
18  std::vector<int> cols;
19  std::vector<Rect> rects;
20  };
21 
23 }
24