#include "lyxlength.h"
-#include "support/std_sstream.h"
+#include <sstream>
+
+using std::string;
using std::abs;
namespace lyx {
namespace graphics {
-string const BoundingBox::asString() const
-{
- std::ostringstream os;
- os << xl << ' ' << yb << ' ' << xr << ' ' << yt;
- return os.str();
-}
-
-
Params::Params()
: display(ColorDisplay),
scale(100),
}
+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)
{}