]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/bezier-bow.cc
Run grand-replace (issue 3765)
[lilypond.git] / lily / bezier-bow.cc
index c61d480803a8ac7630a041a697b836d82d7d3ae4..967ee36e7228deece28508f893722b6303bc22a6 100644 (file)
@@ -1,9 +1,20 @@
 /*
-  bezier.cc -- implement Bezier and Bezier_bow
+  This file is part of LilyPond, the GNU music typesetter.
 
-  source file of the GNU LilyPond music typesetter
+  Copyright (C) 1998--2014 Jan Nieuwenhuizen <janneke@gnu.org>
 
-  (c) 1998--2008 Jan Nieuwenhuizen <janneke@gnu.org>
+  LilyPond is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+
+  LilyPond is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
 */
 
 #include "misc.hh"
@@ -12,7 +23,7 @@
 static Real
 F0_1 (Real x)
 {
-  return 2 / M_PI *atan (M_PI *x / 2);
+  return 2 / M_PI * atan (M_PI * x / 2);
 }
 
 Real
@@ -90,7 +101,7 @@ slur_height (Real width, Real h_inf, Real r_0)
 
 void
 get_slur_indent_height (Real *indent, Real *height,
-                       Real width, Real h_inf, Real r_0)
+                        Real width, Real h_inf, Real r_0)
 {
   Real max_fraction = 1.0 / 3.1;
   *height = slur_height (width, h_inf, r_0);
@@ -106,7 +117,7 @@ slur_shape (Real width, Real h_inf, Real r_0)
   Real height;
 
   get_slur_indent_height (&indent, &height,
-                         width, h_inf, r_0);
+                          width, h_inf, r_0);
 
   Bezier curve;
   curve.control_[0] = Offset (0, 0);