4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
18 * A simple class representing rectangular regions.
19 * It is expected that the box be constructed in
20 * normalised form, that is to say : x1,y1 is top-left,
21 * x2,y2 is bottom-right.
23 * Negative values are allowed.
31 /// Initialise the member variables.
32 Box(int x1_, int x2_, int y1_, int y2_);
35 * Returns true if the given co-ordinates are within
36 * the box. Check is exclusive (point on a border
39 bool contained(int x, int y);
43 std::ostream & operator<<(std::ostream &, Box const &);