OLD | NEW |
---|---|
(Empty) | |
1 #ifndef UI_WAYLAND_WAYLAND_GEOMETRY_UTILS_H_ | |
2 #define UI_WAYLAND_WAYLAND_GEOMETRY_UTILS_H_ | |
3 | |
4 #include <stdint.h> | |
5 | |
6 struct Point { | |
Evan Martin
2011/07/22 21:08:54
I wonder if it's worth reusing our gfx::Rect and g
| |
7 int32_t x, y; | |
8 | |
9 Point() : x(0), y(0) {}; | |
10 Point(int32_t x, int32_t y) : x(x), y(y) {}; | |
11 }; | |
12 | |
13 struct Rectangle { | |
14 int32_t x, y, width, height; | |
15 | |
16 Rectangle() : x(0), y(0), width(0), height(0) {}; | |
17 }; | |
18 | |
19 #endif | |
OLD | NEW |