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