source file of the GNU LilyPond music typesetter
- (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
Jan Nieuwenhuizen <janneke@gnu.org>
*/
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");
}
Stencil ret;
for (vsize i = 1; i < points.size (); i++)
{
- if (points[i-1].is_sane () && points[i].is_sane ())
+ if (points[i-1].is_sane () && points[i].is_sane ())
{
Stencil line
= Line_interface::make_line (thick, points[i-1], points[i]);