]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/percent-repeat-item.cc
Imported Upstream version 2.16.0
[lilypond.git] / lily / percent-repeat-item.cc
index 1e97753feecd95414538f4847f9613aac0d41b92..928089af8b8aa77738aee8d2d550e8c0843deb5c 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 2001--2011  Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 2001--2012  Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   LilyPond is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -37,8 +37,8 @@ Percent_repeat_item_interface::brew_slash (Grob *me, int count)
   Stencil slash = Lookup::repeat_slash (wid, slope, thick);
   Stencil m = slash;
 
-  Real slash_neg_kern =
-    robust_scm2double (me->get_property ("slash-negative-kern"), 1.6);
+  Real slash_neg_kern
+    robust_scm2double (me->get_property ("slash-negative-kern"), 1.6);
   for (int i = count - 1; i--;)
     m.add_at_edge (X_AXIS, RIGHT, slash, -slash_neg_kern);
 
@@ -51,8 +51,8 @@ Percent_repeat_item_interface::x_percent (Grob *me, int count)
 {
   Stencil m = brew_slash (me, count);
 
-  Real dot_neg_kern =
-    robust_scm2double (me->get_property ("dot-negative-kern"), 0.75);
+  Real dot_neg_kern
+    robust_scm2double (me->get_property ("dot-negative-kern"), 0.75);
 
   Stencil d1 = Font_interface::get_default_font (me)->find_by_name ("dots.dot");
   Stencil d2 = d1;
@@ -93,11 +93,11 @@ Percent_repeat_item_interface::beat_slash (SCM grob)
 }
 
 ADD_INTERFACE (Percent_repeat_item_interface,
-              "Repeats that look like percent signs.",
-
-              /* properties */
-              "dot-negative-kern "
-              "slash-negative-kern "
-              "slope "
-              "thickness "
-              );
+               "Repeats that look like percent signs.",
+
+               /* properties */
+               "dot-negative-kern "
+               "slash-negative-kern "
+               "slope "
+               "thickness "
+              );