| 43 | |
| 44 | template <typename rect_type, typename ptype> |
| 45 | bool contains(const rect_type& r, const ptype& p) { return r.contains(p); } |
| 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)); } |