diff options
Diffstat (limited to 'rect.h')
-rw-r--r-- | rect.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#ifndef rect_h +#define rect_h + +typedef struct { + int x, y, w, h; +} Rect; + +Rect* rect_clip(Rect* r, const Rect* c); +Rect* rect_clips(Rect* r, Rect* s, const Rect* c); + +#endif |