#include "Length.h"
+#include <cstdlib>
#include <sstream>
-
-using std::string;
-using std::abs;
-
+using namespace std;
namespace lyx {
namespace graphics {
Params::Params()
- : display(ColorDisplay),
+ : display(true),
scale(100),
angle(0)
{}
}
-std::ostream & operator<<(std::ostream & os, BoundingBox const & bb)
+ostream & operator<<(ostream & os, BoundingBox const & bb)
{
os << bb.xl << ' ' << bb.yb << ' ' << bb.xr << ' ' << bb.yt;
return os;
if (bb.empty())
return;
- std::istringstream is(bb.c_str());
+ istringstream is(bb.c_str());
string a, b, c, d;
is >> a >> b >> c >> d;