#include <cmath>
#include <cctype>
-using namespace std;
#include "line-interface.hh"
#include "warn.hh"
Lookup::round_filled_box (Box b, Real blotdiameter)
{
Real width = b.x ().delta ();
- blotdiameter = min (blotdiameter, width);
+ blotdiameter = std::min (blotdiameter, width);
Real height = b.y ().delta ();
- blotdiameter = min (blotdiameter, height);
+ blotdiameter = std::min (blotdiameter, height);
if (blotdiameter < 0.0)
{
{
Box b;
b[X_AXIS] = Interval (0, iv.length ());
- b[Y_AXIS] = Interval (min (0., protrude), max (0.0, protrude));
+ b[Y_AXIS] = Interval (std::min (0., protrude), std::max (0.0, protrude));
vector<Offset> points;
points.push_back (Offset (iv[LEFT], 0));