#ifndef REGIONS_H #define REGIONS_H #include "points.h" #include "rects.h" #include "lists.h" typedef struct { list_t rects; } region_t; typedef struct { node_t node; rect_t rect; } rect_node_t; int point_in_rect(point_t *pt, rect_t *r); int point_in_rgn(point_t *pt, region_t *rgn); #endif /* REGIONS_H */