lyx_mirror/src/insets/BoundingBox.h
Lars Gullik Bjønnes ba5e47f1a9 read the ChangeLog... no huge changes .. but some might get reversed...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@576 a592a061-630c-0410-9148-cb99ea01b6c8
2000-02-29 02:19:17 +00:00

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