typedef struct Rect { int left, top, right, bottom; }; typedef struct Point { int h, v; };