*
* \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
-#include <cstdlib>
-
#include "GraphicsParams.h"
-#include "Lsstream.h"
+
#include "lyxlength.h"
+#include <sstream>
+
+
+using std::string;
using std::abs;
-namespace grfx {
+
+namespace lyx {
+namespace graphics {
Params::Params()
: display(ColorDisplay),
}
+std::ostream & operator<<(std::ostream & os, BoundingBox const & bb)
+{
+ os << bb.xl << ' ' << bb.yb << ' ' << bb.xr << ' ' << bb.yt;
+ return os;
+}
+
+
BoundingBox::BoundingBox()
: xl(0), yb(0), xr(0), yt(0)
{}
return !(a == b);
}
-} // namespace grfx
+} // namespace graphics
+} // namespace lyx