3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
8 * Full author contact details are available in file CREDITS.
13 #include "Dimension.h"
15 #include "support/lassert.h"
19 void Dimension::operator+=(Dimension const & dim)
29 Point::Point(int x, int y) : x_(x), y_(y)
31 LASSERT(x > -1000000, x_ = -1000000);
32 LASSERT(x < 1000000, x_ = 1000000);
33 LASSERT(y > -1000000, y_ = -1000000);
34 LASSERT(y < 1000000, y_ = 1000000);