+// -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
+
+#ifdef HAVE_CONFIG_H
+# include "../config.h"
+#endif
+
#include "rect.hh"
namespace otk {
}
+bool Rect::contains(const Point &p) const
+{
+ return contains(p.x(), p.y());
+}
+
+
bool Rect::contains(const Rect& a) const
{
return a._x1 >= _x1 && a._x2 <= _x2 &&