| 46 | |
| 47 | template <typename rect_type> |
| 48 | bool contains_xy(const rect_type& r, const long x, const long y) { return r.contains(point(x, y)); } |
| 49 | |
| 50 | template <typename rect_type> |
| 51 | bool contains_rec(const rect_type& r, const rect_type& r2) { return r.contains(r2); } |