ly_quote_scm (l),
SCM_UNDEFINED));
- Box box (Interval (0, 0), Interval (0, 0));
+ Box box (b.extent (X_AXIS), b.extent (Y_AXIS));
return Stencil (box, at);
}
/* remove consecutive duplicate points */
for (vsize i = 0; i < points.size (); i++)
{
- int next_i = (i + 1) % points.size ();
- Real d = (points[i] - points[next_i]).length ();
+ int next = (i + 1) % points.size ();
+ Real d = (points[i] - points[next]).length ();
if (d < epsilon)
programming_error ("Polygon should not have duplicate points");
}
b[X_AXIS].unite (back.extent (X_AXIS));
b[Y_AXIS].unite (back.extent (Y_AXIS));
+ b.widen (0.5 * linethick, 0.5 * linethick);
return Stencil (b, at);
}