]> git.lyx.org Git - lyx.git/blob - src/insets/BoundingBox.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / BoundingBox.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  * 
5  *           LyX, The Document Processor
6  *       
7  *           Copyright 1995 Matthias Ettrich
8  *           Copyright 1995-2000 the LyX Team.
9  *
10  * ====================================================== */
11
12 #ifndef BOUNDING_BOX_H
13 #define BOUNDING_BOX_H
14
15 ///
16 struct BoundingBox {
17         ///
18         BoundingBox() 
19                 : llx(-1), lly(-1), urx(-1), ury(-1) {}
20         ///
21         bool isSet() const {
22                 return llx != -1 && lly != - 1
23                         && urx != -1 && ury != -1;
24         }
25         ///
26         int llx;
27         ///
28         int lly;
29         ///
30         int urx;
31         //
32         int ury;
33 };
34
35 #endif