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 px, int py) : x(px), y(py)
31 LASSERT(px > -1000000, x = -1000000);
32 LASSERT(px < 1000000, x = 1000000);
33 LASSERT(py > -1000000, y = -1000000);
34 LASSERT(py < 1000000, y = 1000000);