mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
ba5e47f1a9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@576 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
604 B
C++
36 lines
604 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995 Matthias Ettrich
|
|
* Copyright 1995-2000 the LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef BOUNDING_BOX_H
|
|
#define BOUNDING_BOX_H
|
|
|
|
///
|
|
struct BoundingBox {
|
|
///
|
|
BoundingBox()
|
|
: llx(-1), lly(-1), urx(-1), ury(-1) {}
|
|
///
|
|
bool isSet() const {
|
|
return llx != -1 && lly != - 1
|
|
&& urx != -1 && ury != -1;
|
|
}
|
|
///
|
|
int llx;
|
|
///
|
|
int lly;
|
|
///
|
|
int urx;
|
|
//
|
|
int ury;
|
|
};
|
|
|
|
#endif
|