#include "Dimension.h"
+#include "support/lassert.h"
+
namespace lyx {
void Dimension::operator+=(Dimension const & dim)
wid += dim.wid;
}
+
+Point::Point(int x, int y) : x_(x), y_(y)
+{
+ LASSERT(x > -1000000, x_ = -1000000);
+ LASSERT(x < 1000000, x_ = 1000000);
+ LASSERT(y > -1000000, y_ = -1000000);
+ LASSERT(y < 1000000, y_ = 1000000);
+}
+
} // namespace lyx